Re: break/continue $var
| From: | Dmitry Stogov | Date: | Fri, 19 Nov 2010 14:06:47 +0000 |
| Subject: | Re: break/continue $var | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50384@lists.php.net to get a copy of this message | ||
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