Re: GOTO operator

From: Date: Fri, 30 Jul 2004 18:47:13 +0000
Subject: Re: GOTO operator
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-11702@lists.php.net to get a copy of this message
At 02:38 PM 7/30/2004 -0400, Jeff Moore wrote:
On Jul 29, 2004, at 6:30 PM, Ilia Alshanetsky wrote:
Here are some more programming languages you may wish to discredit for their goto support. C#,
The C# goto is limited: "goto statements can transfer control within blocks and out of blocks, but never into blocks." Does the PHP goto implementation have this limitation? http://www.jaggersoft.com/csharp_standard/15.4.htm http://www.jaggersoft.com/csharp_standard/15.9.3.htm
No it doesn't. As I mentioned Sara's implementation is extremely flawed. So yes there is a technical issue here beside a semantic issue. And the C# limitation might very well apply in PHP too. Andi

« previous php.internals (#11702) next »