Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22201 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9542 invoked by uid 1010); 7 Mar 2006 15:16:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9526 invoked from network); 7 Mar 2006 15:16:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 15:16:11 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:1751] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id BB/D1-22029-AB3AD044 for ; Tue, 07 Mar 2006 10:16:11 -0500 Received: (qmail 27328 invoked from network); 7 Mar 2006 15:15:43 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 15:15:43 -0000 Message-ID: <7.0.1.0.2.20060307071312.04e81c08@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 07 Mar 2006 07:15:31 -0800 To: "Dmitry Stogov" , In-Reply-To: <000001c641c9$80dbfad0$6e02a8c0@thinkpad> References: <000001c641c9$80dbfad0$6e02a8c0@thinkpad> 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) 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). 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