Stanislav Malyshev wrote:
DR>>which is ugly and already possible anyway).
Using control blocks is no more ugly than using goto's - and thr right way
to do it is using exception handling and finally, IMO.
well exceptions as we have them right now are everything and much much
more than what people who are against goto are bringing up. its entire
idea is to bubble out of the scope (while the goto patch specifically
disallows this). so exceptions pose a much greater risk for spegetti
code than this proposed addition of goto ever well.
the idea behind adding goto to me is
#1 not having to create an instance just to be able to "goto"
#2 not being able to jump out of the scope
so suggesting exceptions as a "work around" the lack of goto is
pointless imho ..
regards,
Lukas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php