Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50399 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34515 invoked from network); 20 Nov 2010 02:10:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2010 02:10:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain prohost.org designates 209.85.161.42 as permitted sender) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:48929] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/A6-29351-42E27EC4 for ; Fri, 19 Nov 2010 21:10:46 -0500 Received: by fxm16 with SMTP id 16so2808817fxm.29 for ; Fri, 19 Nov 2010 18:10:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.79.68 with SMTP id o4mr2622789fak.0.1290219041396; Fri, 19 Nov 2010 18:10:41 -0800 (PST) Received: by 10.223.126.199 with HTTP; Fri, 19 Nov 2010 18:10:41 -0800 (PST) In-Reply-To: <4CE68477.6050505@zend.com> References: <4CE5399A.5090304@zend.com> <4CE68477.6050505@zend.com> Date: Fri, 19 Nov 2010 21:10:41 -0500 Message-ID: To: Dmitry Stogov Cc: Derick Rethans , PHP Internals , Rasmus Lerdorf , Zeev Suraski Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: break/continue $var From: ilia@prohost.org (Ilia Alshanetsky) +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 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 > >