note 102787 deleted from control-structures.foreach by danbrown
| From: | danbrown@php.net | Date: | Mon, 07 Mar 2011 12:28:59 +0000 |
| Subject: | note 102787 deleted from control-structures.foreach by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177611@lists.php.net to get a copy of this message | ||
Note Submitter: z dot himdi at bita dot nl
----
Mike, strange bug indeed.
I just found a work around:
if needing to use a reference to $value, in the second foreach also use a reference.
When using a reference both times, the bug doesn't show up.