Re: GOTO operator

From: Date: Fri, 30 Jul 2004 20:46:04 +0000
Subject: Re: GOTO operator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-11733@lists.php.net to get a copy of this message
David Kingma wrote:
Where did the if statements go? do_stuff(), do_more_stuff(), and do_even_more_stuff() should throw exceptions rather than return boolean error indicators.
Now imagine do_stuff() and friends were native PHP functions ;)
Good point, but should we fix this with a goto operator or get to the source of the problem (that would break BC wouldn't it?)?
Exactly. The BC consideration would probably mean that this is never going to be implemented. Edin

« previous php.internals (#11733) next »