note 102787 deleted from control-structures.foreach by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.