Re: GOTO operator

From: Date: Thu, 29 Jul 2004 14:40:05 +0000
Subject: Re: GOTO operator
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-11616@lists.php.net to get a copy of this message
Leonardo Pedretti wrote:
Goto is somewhat equivalent to 'case' combined with using 'continue' in loops. More precisely, this 2 language constructions are the 'goto' implementation with a different name so that Dijkstra does not get back from the grave to punish us =D
also with exceptions there are also ways to "emulate" goto ... might as well give people the real thing .. that is much more in the spirit of php, where the aim is to make it very easily readable what you are actually up to in your code. regards, Lukas

« previous php.internals (#11616) next »