Re: GOTO and/or BREAK LABEL

From: Date: Tue, 07 Mar 2006 13:02:01 +0000
Subject: Re: GOTO and/or BREAK LABEL
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 3/7/06, Dmitry Stogov <[email protected]> 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
>
thanks for this thread.
+0.5 for goto
+1 for "do { break label; } while(0); label:" (line label, same with goto)
or if the above is not acceptable, +0.5 for java like "label: do {
break label; } while(0);" (block label, confusing with goto)


Thread (106 messages)

« previous php.internals (#22192) next »