Iterator
PHP Manual

Iterator::key

(No version information available, might be only in CVS)

Iterator::keyReturn the key of the current element

Описание

abstract public scalar Iterator::key ( void )

Returns the key of the current element.

Список параметров

This function has no parameters.

Возвращаемые значения

Returns scalar on success, integer 0 on failure.

Errors/Exceptions

Issues E_WARNING on failure.


Iterator
PHP Manual