GB>>control structures are not useful.  This is not the case in PHP. A 
GB>>simple example in the manual showing proper usage of break/continue 
GB>>and warning to only use goto as a last resort would be sufficient for 
GB>>discouraging newbies from shooting their feet off.

The problem is not only that - the problem is that some constructs might 
be unsafe to jump in. Example - jumping in or out of foreach may be 
very problematic with current engine (jumping in may result in crash, 
jumping out - in memory leaks). And there can be more such things.

-- 
Stanislav Malyshev, Zend Products Engineer   
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115

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

Reply via email to