note 11698 added to next

From: Date: Fri, 02 Mar 2001 19:54:36 +0000
Subject: note 11698 added to next
Groups: php.notes 
Request: Send a blank email to php-notes+get-11786@lists.php.net to get a copy of this message
Even better: for (reset($array); next ($array);){ //DO STUFF } This also watches out for arrays with no elements yet. As usual with next() and reset(), if you have an element = '0', it will break early. http://www.php.net/manual/en/function.next.php

« previous php.notes (#11786) next »