Re: Re: Labeled Breaks (not the G-word)
| From: | Derick Rethans | Date: | Mon, 12 Dec 2005 20:15:28 +0000 |
| Subject: | Re: Re: Labeled Breaks (not the G-word) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21199@lists.php.net to get a copy of this message | ||
On Mon, 28 Nov 2005, Zeev Suraski wrote:
> I'm indifferent to adding the restricted goto, and against adding a
> full-featured goto. We can do well without either of them.
We discussed this in the meeting, and we wanted a limited goto in the
form of a break <label>. Now the only addition here is the ability to
jump back in the current scope as well. I see no problems with this so
why are we now suddendly suggesting not to add any goto functionality?
It works, including the jumping backwards in the code - so I think we
should keep that unless we find a *technical* reason why it is not a
good idea.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org