without $var it would be possible to compile break/continue into
ZEND_FREE/ZEND_SWITCH_FREE and ZEND_JMP.
I also thought it would allow to remove op_array->brk_cont_array
completely, but it's also used for exception handling. :(
Thanks. Dmitry.
Derick Rethans wrote:
On Thu, 18 Nov 2010, Dmitry Stogov wrote:
Previously we decided to remove "break/continue $var" syntax.
I even implemented it in PHP6 brunch, however it wasn't backported into
trunk. Could I do it?
Is there a really good reason to remove it?
regards,
Derick
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php