Re: GOTO operator
| From: | Brian Kell | Date: | Fri, 06 Aug 2004 16:41:38 +0000 |
| Subject: | Re: GOTO operator | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11983@lists.php.net to get a copy of this message | ||
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 <xuefer@hotmail.com> wrote:
how about: "break label;" ? just a thought