Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50384 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16947 invoked from network); 19 Nov 2010 14:06:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2010 14:06:55 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:42612] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/83-25589-C7486EC4 for ; Fri, 19 Nov 2010 09:06:54 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id 9D49B50523; Fri, 19 Nov 2010 16:01:11 +0200 (IST) Received: from ws.home (10.1.10.11) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server id 14.0.689.0; Fri, 19 Nov 2010 16:06:43 +0200 Message-ID: <4CE68477.6050505@zend.com> Date: Fri, 19 Nov 2010 17:06:47 +0300 User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Derick Rethans CC: PHP Internals , Rasmus Lerdorf , Zeev Suraski References: <4CE5399A.5090304@zend.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: break/continue $var From: dmitry@zend.com (Dmitry Stogov) 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