Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
Iterator
PHP Manual

Iterator::key

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

Iterator::keyReturn the key of the current element.

Description

abstract public scalar Iterator::key ( void )

Returns the key of the current element.

Parameters

This function has no parameters.

Return Values

Returns scalar on success, integer 0 on failure.

Errors/Exceptions

Issues E_WARNING on failure.


Iterator
PHP Manual