Re: Re: break/continue $var

From: Date: Sat, 20 Nov 2010 02:10:41 +0000
Subject: Re: Re: break/continue $var
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-50399@lists.php.net to get a copy of this message
+1 to removing it. I think now that we have goto, this functionality does not make much sense. On Fri, Nov 19, 2010 at 9:06 AM, Dmitry Stogov <dmitry@zend.com> wrote: > 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 > >

« previous php.internals (#50399) next »