LimitIterator::key

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

LimitIterator::keyGet current key

說(shuō)明

public LimitIterator::key(): mixed

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns the key for the current item.

參見