LimitIterator::key
PHP Manual
PHP Manual»LimitIterator»LimitIterator::key

LimitIterator::key

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

LimitIterator::keyGet current key

Опис

public function LimitIterator::key(): mixed

Gets the key for the current item in the inner Iterator.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the key for the current item.

Прогляньте також

To Top