Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11983 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34613 invoked by uid 1010); 6 Aug 2004 16:41:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 34589 invoked by uid 1007); 6 Aug 2004 16:41:38 -0000 To: internals@lists.php.net References: Message-ID: Date: Fri, 06 Aug 2004 11:41:38 -0500 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit User-Agent: Opera M2/7.50 (Win32, build 3778) X-Posted-By: 208.6.238.24 Subject: Re: [PHP-DEV] GOTO operator From: abodeman@yahoo.com ("Brian Kell") 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 wrote: > how about: "break label;" ? > just a thought