note 97717 deleted from function.next by danbrown

From: Date: Wed, 05 May 2010 00:14:11 +0000
Subject: note 97717 deleted from function.next by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168942@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- You might better use foreach to loop through the following array $array=array('1', false, '3'); var_dump(reset($array)); // returns 1 var_dump(next($array)); // returns false var_dump(next($array)); // returns 2 var_dump(next($array)); // returns false var_dump(next($array)); // returns false ....

« previous php.notes (#168942) next »