> 
> JC>>Since when did anyone care that we were giving users 
> enough rope to 
> JC>>hang themselves with?
> 
> There's rope and rope. Giving rope is one thing, giving a 
> pack of explosives is another.
> 
> JC>>I don't think we should worry ourselves with people who 
> don't know 
> JC>>how to code and abuse language constructs like goto -- especially 
> JC>>when they
> 
> The problem that concerns me is that I suspect most of its 
> uses would be abuse, actually. The only "legitimate" use for 
> it I can see it exit from control block without counting 
> brackets - which would be better solved by labeled 
> break/continue, I think. Can you give me another legitimate use?

PHP Code generation tools?

There is a lot of useful code generation tools out there that would be useful 
when developing in PHP, but quite a few use goto, so
porting to PHP output becomes non-trivial.

> JC>>have a limited but practical purpose. +1 to a limited goto.

Jared

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to