Iterator::key
(PHP 5 >= 5.0.0)
Iterator::key — Return the key of the current element
Descrição
abstract public scalar Iterator::key
( void
)
Returns the key of the current element.
Parâmetros
Esta função não possui parâmetros.
Valor Retornado
Returns scalar on success, or NULL on failure.
Erros
Issues E_NOTICE on failure.