Re: GOTO and/or BREAK LABEL

From: Date: Tue, 07 Mar 2006 15:30:37 +0000
Subject: Re: GOTO and/or BREAK LABEL
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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


Thread (106 messages)

« previous php.internals (#22205) next »