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

From: Date: Sun, 07 Jan 2001 18:56:18 +0000
Subject: Re: PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-43264@lists.php.net to get a copy of this message
On Sun, Jan 07, 2001 at 07:57:44AM +0200, Boian Bonev wrote: > I never knew about this behavior and just have fixed some rare cases in some > of my scripts... I have _never_ thought that a continue can break a switch. And in C it doesn't, that is, it continues the loop enclosing the switch. I think we should have behavior similar to C here, anything else would be confusing. The C behavior is more useful too I think. Stig

« previous php.dev (#43264) next »