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

search for in the

Iterator::valid> <Iterator::next
Last updated: Fri, 14 Aug 2009

view this page in

Iterator::rewind

(PHP 5 >= 5.1.0)

Iterator::rewindReplace l'itérateur sur le premier élément

Description

abstract public void Iterator::rewind ( void )

Replace l'itérateur sur le premier élément.

Note: C'est la première méthode appelée lors du départ d'une boucle foreach. Elle ne sera pas exécutée après la boucle foreach.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Toutes les valeurs retournées sont ignorées.



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

Iterator::valid> <Iterator::next
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites