Date: 01/08/01
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #8582 Updated: normal if nested in alternate if gives parse error"
- Previous message: johnw <email protected>: "[PHP-DEV] PHP 4.0 Bug #6089 Updated: ociplogon sometimes gives bus error"
- In reply to: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Next in thread: Adam Trachtenberg: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Reply: Adam Trachtenberg: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
SV>> And in C it doesn't, that is, it continues the loop enclosing the switch.
SV>> I think we should have behavior similar to C here, anything else would be
SV>> confusing. The C behavior is more useful too I think.
I think C behaviour is most confusing (which is no wonder given how many
confusing behaviours C has). Why "break" works on switch and its brother
"continue" works on enclosing loop? Oh, just because C makers were short
on words and constantly used same keywords to represent different
things? Not good enough.
-- Stanislav Malyshev, Zend Products Engineer stas <email protected> http://www.zend.com/ +972-3-6139665 ext.115-- 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: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #8582 Updated: normal if nested in alternate if gives parse error"
- Previous message: johnw <email protected>: "[PHP-DEV] PHP 4.0 Bug #6089 Updated: ociplogon sometimes gives bus error"
- In reply to: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Next in thread: Adam Trachtenberg: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Reply: Adam Trachtenberg: "Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

