Re: Backporting to 5_3
| From: | Hannes Magnusson | Date: | Wed, 26 Mar 2008 18:02:42 +0000 |
| Subject: | Re: Backporting to 5_3 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36554@lists.php.net to get a copy of this message | ||
On Wed, Mar 26, 2008 at 6:13 PM, Stanislav Malyshev <stas@zend.com> wrote:
> >> I'd wait for 6 with this. May break some scripts.
> >
> > I dont think it will break more a piece of code that doesnt really work. ;)
>
> Af far as I know, breaks with arguments do work in PHP.
<?php
$foo = 2;
while(true) {
while(true) {
echo "Hello world!\n";
if (true) {
break $foo;
}
}
echo "Never reached\n";
}
This is what was removed. not normal "break 2;"
-Hannes