note 15613 added to control-structures.foreach
| From: | horst dot beham at gmx dot at | Date: | Sun, 23 Sep 2001 09:58:03 +0000 |
| Subject: | note 15613 added to control-structures.foreach | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18209@lists.php.net to get a copy of this message | ||
"foreach" returns a COPY of the values of the array, not a REFERENCE. so
"foreach" isn't useful for arrays containing id=>object-ref associations.
--
http://www.php.net/manual/en/control-structures.foreach.php
http://master.php.net/manage/user-notes.php?action=edit+15613
http://master.php.net/manage/user-notes.php?action=delete+15613
http://master.php.net/manage/user-notes.php?action=reject+15613