note 111014 rejected from control-structures.foreach by googleguy
| From: | googleguy@php.net | Date: | Sun, 06 Jan 2013 07:57:33 +0000 |
| Subject: | note 111014 rejected from control-structures.foreach by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192774@lists.php.net to get a copy of this message | ||
Note Submitter: bgulino at gmail dot com
----
"As foreach relies on the internal array pointer changing it within the loop may lead to
unexpected behavior."
This means that you can't nest foreach loops. There is only one internal array pointer.