Re: Re: GOTO and/or BREAK LABEL (conclusion)

From: Date: Thu, 09 Mar 2006 15:11:23 +0000
Subject: Re: Re: GOTO and/or BREAK LABEL (conclusion)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Thu, 9 Mar 2006 11:03:48 +0300
[email protected] ("Dmitry Stogov") wrote:

> Hi,
>
> The solution (2) - "goto only" is the winner.
> So in case of no serious objections, I'll commit the "goto.diff"
> patch in 24 hour.
>
> The last question:
> What do you thin about Andi's solution about using "jump" instead of
> "goto"?
>
> It may make sense, because it is not a full analog of C's goto
> statement. It is a limited "goto". It allows jump back and forward,
> but not INTO loops and switch statements.

+1 to commit the damned thing as it was proposed, goto (2). Everyone
will look at goto, not jump (unless you use asm and then you need jmp :)

--Pierre


Thread (106 messages)

« previous php.internals (#22285) next »