If anyone in this debate hasn't read my independent request for goto and "break label;", I would appreciate it if you would:

http://bugs.php.net/bug.php?id=29287

I fully support the implementation of goto. Line labels will also immensely improve the break statement, which currently requires you to count the number of enclosing blocks you want to break out of, and won't work the way you expect if you add a new loop or switch inside the loop you're trying to break out of. In fact, I would recommend focusing more energy on line labels for the break statement than on line labels for goto. But, since we already have a goto implementation, I guess that's a moot point. :)

Brian

On Sat, 31 Jul 2004 15:16:54 +0800, Tinys Xuefer <[EMAIL PROTECTED]> wrote:

how about: "break label;" ?
just a thought

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to