#40608 [Fbk]: break within foreach causes strange behaviour
| From: | ashnazg@php.net | Date: | Tue, 20 Mar 2007 16:35:59 +0000 |
| Subject: | #40608 [Fbk]: break within foreach causes strange behaviour | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110572@lists.php.net to get a copy of this message | ||
ID: 40608
Updated by: ashnazg@php.net
Reported By: eric dot broersma at phil dot uu dot nl
Status: Feedback
Bug Type: Arrays related
Operating System: Sun Solaris
PHP Version: 5.2.1
New Comment:
My bad... pretending to be a dev myself there, by selecting the "Quick
Fix" option to "notify" the original bug submitter (and all readers)
about the snapshot option.
Previous Comments:
------------------------------------------------------------------------
[2007-03-19 20:48:54] tony2001@php.net
Are you asking yourself to try fresh snapshot?
Or did you click wrong link?
------------------------------------------------------------------------
[2007-03-19 20:40:35] ashnazg@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-03-19 19:55:06] ashnazg@php.net
Tested this example against the 5.2 snapshot
(php5.2-win32-200703191630.zip) from php.net, and it works properly.
So, looks like it has been fixed on the 5.2 branch after 5.2.1 was
released.
------------------------------------------------------------------------
[2007-03-19 19:52:07] tony2001@php.net
I don't have a Windows machine handy at the moment (not mentioning MSVC
and other tools required to get something useful on Windows).
------------------------------------------------------------------------
[2007-03-19 19:34:17] ashnazg@php.net
It's not necessary to compile 5.2.1 from source to test this on
Windows. You can use the 5.2.1 zip file available at php.net. That's
what I had installed first, encountered this problem, then compiled from
source to see if the problem remained.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40608
--
Edit this bug report at http://bugs.php.net/?id=40608&edit=1