note 75818 deleted from function.next by bjori

From: Date: Sun, 17 Jun 2007 19:33:33 +0000
Subject: note 75818 deleted from function.next by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-127501@lists.php.net to get a copy of this message
Note Submitter: Sinured Reason: 1 ---- To deadimp at gmail dot com: Your function won't work as expected, because PHP works with a copy of the array rather than the original. If you call peek() once every iteration and remove the prev() call, it will kinda work, if the "real" array isn't changed during the loop. However, it will also fail on false values.

« previous php.notes (#127501) next »