Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84772 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38488 invoked from network); 14 Mar 2015 12:01:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2015 12:01:42 -0000 Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.116.27 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.116.27 blu004-omc1s16.hotmail.com Received: from [65.55.116.27] ([65.55.116.27:52821] helo=BLU004-OMC1S16.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/61-29409-12324055 for ; Sat, 14 Mar 2015 07:01:38 -0500 Received: from BLU436-SMTP145 ([65.55.116.9]) by BLU004-OMC1S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sat, 14 Mar 2015 05:01:33 -0700 X-TMN: [qIZeXe4EH0m7ftNaGeJrvEr15PY/mOET] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: Date: Sat, 14 Mar 2015 13:01:29 +0100 CC: PHP Internals , Dmitry Stogov Content-Transfer-Encoding: quoted-printable References: To: Xinchen Hui X-Mailer: Apple Mail (2.2070.6) X-OriginalArrivalTime: 14 Mar 2015 12:01:31.0829 (UTC) FILETIME=[9C685E50:01D05E4E] Subject: Re: [PHP-DEV] Drop Multiply VM kind support From: bobwei9@hotmail.com (Bob Weinand) > Am 13.03.2015 um 05:01 schrieb Xinchen Hui : >=20 > Hey: >=20 > We have CALL SWITCH GOTO vm kind supports for long time. >=20 > And we use CALL for default. >=20 > SWITCH GOTO seems useless now, and brings us some troubles while > maintaining . >=20 > And also could make some extension unable to work, like in phpdbg: >=20 > PHPDBG_G(vmret) =3D = execute_data->opline->handler(execute_data); >=20 >=20 > So, maybe it's time for us to remove GOTO and SWITCH at all? >=20 > thanks >=20 > --=20 > Xinchen Hui > @Laruence > http://www.laruence.com/ Not sure whether it's useless, I'm not exactly aware of the performance = differences. But we would have to add some proper build-time check for phpdbg whether = we're in CALL mode or not. [when you're using phpdbg on that machine, = you probably aren't in a high-performance production environment = anyway.] (Like with a clean #error message etc.) Bob=