Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22204 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23266 invoked by uid 1010); 7 Mar 2006 15:28:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23251 invoked from network); 7 Mar 2006 15:28:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 15:28:52 -0000 X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:5419] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 60/54-22029-4B6AD044 for ; Tue, 07 Mar 2006 10:28:52 -0500 Received: from [10.0.0.18] (palestine.intra.emini.dk [10.0.0.18]) by gw2.emini.dk (Postfix) with ESMTP id 4E7CCA6680; Tue, 7 Mar 2006 16:28:48 +0100 (CET) Message-ID: <440DA6B0.7000107@emini.dk> Date: Tue, 07 Mar 2006 16:28:48 +0100 Organization: Emini A/S User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andi Gutmans Cc: Dmitry Stogov , internals@lists.php.net References: <000001c641c9$80dbfad0$6e02a8c0@thinkpad> <7.0.1.0.2.20060307071312.04e81c08@zend.com> In-Reply-To: <7.0.1.0.2.20060307071312.04e81c08@zend.com> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=157D0FA8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL From: edink@emini.dk (Edin Kadribasic) Andi Gutmans wrote: > I'm with Rasmus on the break label stuff. Although it's not confusing to > me, I got convinced quickly that it'll be confusing to the wider > audience. So big -1 from me for (2) & (1). From your comment bellow I figure you're for option 2, right? Edin > I think we should either stick with nothing or go to a full goto > (without jumping into scopes of course). Only forward gotos would go > against one of the main initial motivations for discussing this which > was state machines. > > I suggest we apply this and allow people to play around with it/test it.... > > Btw, how about naming it "jump" and not "goto"? :) > Andi > > At 01:28 AM 3/7/2006, Dmitry Stogov wrote: > >> Hi, >> >> Because of some confused people I reverted "break label" patch and >> post it >> for discussion once again together with GOTO patch. >> >> Please reviw and vote. >> >> 1) goto and break label >> 2) goto only (like C) >> 3) break label only (like Java) >> 4) nothing >> >> My vote: (1) +0.5, (4) +0.5 >> >> Thanks. Dmitry. >> >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > >