On Mon, 6 Jun 2005, Ondrej Ivanič wrote:

> Jani Taskinen wrote:
> >> And the much needed goto for the next one (5.2/5.5/6.0 or whatever it
> >> will be) ?
> >     I've found a lot of cases where this would have been nice to have
> >     and simplified the code too..
> > 
> >     So +1 from me. (wasn't there a patch for this already somewhere?)
> 
> When I move from functional to OO or generic programing I don't need use
> 'goto' statement anymore.
> 
> I think, better (cleaner) way is extend 'break' and 'continue' to accept
> string as label name in local scope. (like java :)).
> 
> Implement 'goto' with possibility to jump anywhere is a step backwards...

It's exactly the same as "break <label>"... goto can only jump in the 
same scope with a label. So I don't see the difference.

Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to