----- Original Message ----- 
From: "Stefan Esser" <[EMAIL PROTECTED]>
To: <"Sara Golemon"@utopia.rusko.us>; <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 6:05 AM
Subject: Re: [PHP-DEV] GOTO operator


> Hi,
>
> > I wrote up a patch for implementing gotos in php scripts a couple months
ago
> > as an exercise in working with the Zend engine.  I put it aside assuming
> > noone would actually want it, but Wez and Ilia convinced me to post it
for
> > consideration:
>
> I was really rolling on the floor when I saw this mail, because I faked
> up such a patch as a joke a few days ago.
>
> I love gotos. Try/Catch is goto for poor people ;)
>
> +2^17,3 from me

tongue out of cheek + my opinion doesn't count,

goto is *very* useful for error handling when you've got stuff to clean up
that's common between error conditions. absence of goto is a major
annoyance. i'd like to see it in 4.x as well, but i realize that ain't gonna
happen officially.

paul

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

Reply via email to