Hartmut Holzgraefe wrote:

The JAVA approach is even superior to PHPs "break n;"
where n has to be an integer and you have to be very
carefull to not wrap another loop around the break
but within the loop supposed to be broken

Very true. Labeled breaks would be the "goto" that people seem to want here, and it would avoid the whole problem of, "Do I need a break 2 here, or a break 3?" Maybe what we really need is an extension of the break statement to include labels instead of adding goto?


--
Shaun M. Thomas                INN Database Administrator
Phone: (309) 743-0812          Fax  : (309) 743-0830
Email: [EMAIL PROTECTED]    Web  : www.townnews.com

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to