Date: 01/07/01
- Next message: Stig Venaas: "Re: [PHP-DEV] http://bugs.php.net/bugs.php?id=8409"
- Previous message: mlavallee <email protected>: "[PHP-DEV] PHP 4.0 Bug #8578: include_path option only reads first path"
- In reply to: Boian Bonev: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stig Venaas: "Re: [PHP-DEV] http://bugs.php.net/bugs.php?id=8409"
- Previous message: mlavallee <email protected>: "[PHP-DEV] PHP 4.0 Bug #8578: include_path option only reads first path"
- In reply to: Boian Bonev: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

