note 25424 added to control-structures.foreach
| From: | karel dot panek at empyreum dot cz | Date: | Mon, 23 Sep 2002 14:09:55 +0000 |
| Subject: | note 25424 added to control-structures.foreach | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37143@lists.php.net to get a copy of this message | ||
Especially be aware from RECURSIVE foreach () usage. I strongly recommend to use standard for ()
control structure for such cases as inherited foreach()'s probably share single internal data
and causes unexpected loops terminations silently.<br>
Charless @ EMPYREUM(tm)
--
http://www.php.net/manual/en/control-structures.foreach.php
http://master.php.net/manage/user-notes.php?action=edit+25424
http://master.php.net/manage/user-notes.php?action=delete+25424
http://master.php.net/manage/user-notes.php?action=reject+25424