Re: PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement

From: Date: Sat, 06 Jan 2001 09:35:29 +0000
Subject: Re: PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43154@lists.php.net to get a copy of this message
On Sat, Jan 06, 2001 at 05:19:11AM +0100, Cynic wrote: > Forgot to cc the list... > > Um, I don't know. This looks to me like trying to hide problems/ > inconsistencies/bugs too easily. :) I think it should stay in > the bug realm. > > I, just like the other guy, consider this a bug. What good > is continue within switch if it's the same as break, while it's > clearly (meant to be) something different? It could as well > trigger an error: 'use break instead'. I agree, I consider it a bug and think it should be fix before too many relies on it or writes ugly code to get around it. No one should write code that relies on this, so let's change it. Stig

« previous php.dev (#43154) next »