Re: [PHP-DEV] PHP 4.0 Bug #8428 Updated: continue doesn't pass thru a switch statement From: Stanislav Malyshev (stas <email protected>)
Date: 01/08/01

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>