Re: GOTO operator
| From: | Jason Garber | Date: | Sat, 31 Jul 2004 01:30:18 +0000 |
| Subject: | Re: GOTO operator | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11747@lists.php.net to get a copy of this message | ||
Hello Andi,
That being said, I TOTALLY agree with your 2 rules. Thanks.
Also, by limiting it to local scope and not being able to jump into
an execution block would limit it's ability to make really nasty
spaghetti code -AND- in my understanding provide the desired
"professional" functionality as well.
Thanks for answering my question.
--
Best regards,
Jason mailto:jason@ionzoft.com
Friday, July 30, 2004, 9:24:13 PM, you wrote:
AG> At 09:19 PM 7/30/2004 -0400, Robert Cummings wrote:
>>On Fri, 2004-07-30 at 21:16, Jason Garber wrote:
>> > Hello Andi,
>> >
>> > Sorry for being unclear on this, but what is the exact definition of
>> > an "execution block" in this context?
>>
>>Can't jump into an "if" block or "while" block etc. Only out.
AG> Yep exactly. Other examples are switch(), foreach() etc...
AG> Andi