Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24729 invoked by uid 1010); 7 Mar 2006 15:30:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24713 invoked from network); 7 Mar 2006 15:30:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 15:30:45 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:6560] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D8/84-22029-427AD044 for ; Tue, 07 Mar 2006 10:30:45 -0500 Received: (qmail 31990 invoked from network); 7 Mar 2006 15:30:39 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 15:30:39 -0000 Message-ID: <7.0.1.0.2.20060307073029.04b33008@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 07 Mar 2006 07:30:37 -0800 To: Edin Kadribasic Cc: Dmitry Stogov ,internals@lists.php.net In-Reply-To: <440DA6B0.7000107@emini.dk> References: <000001c641c9$80dbfad0$6e02a8c0@thinkpad> <7.0.1.0.2.20060307071312.04e81c08@zend.com> <440DA6B0.7000107@emini.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL From: andi@zend.com (Andi Gutmans) Yes 2. Sorrry At 07:28 AM 3/7/2006, Edin Kadribasic wrote: >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 > > > >