note 19229 added to function.next
| From: | chris at cdpnet dot freeserve dot co dot uk | Date: | Wed, 20 Feb 2002 11:39:06 +0000 |
| Subject: | note 19229 added to function.next | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26837@lists.php.net to get a copy of this message | ||
justin,
The behaviour of next is correct, as foreach actually uses a copy of the array not the array itself.
--
http://www.php.net/manual/en/function.next.php
http://master.php.net/manage/user-notes.php?action=edit+19229
http://master.php.net/manage/user-notes.php?action=delete+19229
http://master.php.net/manage/user-notes.php?action=reject+19229