Re: GOTO operator

From: Date: Fri, 30 Jul 2004 15:45:20 +0000
Subject: Re: GOTO operator
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-11673@lists.php.net to get a copy of this message
Hartmut Holzgraefe wrote:
Personally I see NO advantage to GOTO in a structured language, and even if it is added I've learnt enough in 30 years to avoid it. Surely CASE is much safer and naturally 'contained'?
Two words: "State machine"
So what - the database tells me what to run next for each user - based on their responses - I don't need a GOTO ;) -- Lester Caine ----------------------------- L.S.Caine Electronic Services

« previous php.internals (#11673) next »