downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Iterator::next> <Iterator::current
Last updated: Fri, 20 Nov 2009

view this page in

Iterator::key

(PHP 5 >= 5.1.0)

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.



add a note add a note User Contributed Notes
Iterator::key
There are no user contributed notes for this page.

Iterator::next> <Iterator::current
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites