Iterator
PHP Manual

Iterator::key

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

Iterator::keyReturn the key of the current element.

Beschreibung

abstract public scalar Iterator::key ( void )

Returns the key of the current element.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Returns scalar on success, integer 0 on failure.

Fehler/Exceptions

Issues E_WARNING on failure.


Iterator
PHP Manual