Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37087 invoked from network); 14 Feb 2012 07:08:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2012 07:08:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:41683] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/73-16962-1680A3F4 for ; Tue, 14 Feb 2012 02:08:18 -0500 Received: by vcbfk13 with SMTP id fk13so4432804vcb.29 for ; Mon, 13 Feb 2012 23:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=g41jZ3OENFMcy6O6aeVqOLeeNM63yY6ZuOKqzNwSB6U=; b=nEwdPMU60i7HaRR2WsI3BPXA1ekzdw5IudX13+7QTmcAhD7Fuk0WBhCcDp1/joFuQD t02owbJctKzR0ngF35zqyVEdJNhjE4Jr7AaB9L1X+qC1sPiHYAKMoDZGIHg5fWzWQXnO 4ascpGPh3AgQ57ku2yIgoIe4Mk1x9XrEIOUBA= Received: by 10.220.155.132 with SMTP id s4mr9751468vcw.65.1329203294149; Mon, 13 Feb 2012 23:08:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.178.130 with HTTP; Mon, 13 Feb 2012 23:07:54 -0800 (PST) In-Reply-To: References: <-6357718405742688648@unknownmsgid> <4F3A0282.9040502@sugarcrm.com> <4F3A0685.8010604@zend.com> Date: Tue, 14 Feb 2012 15:07:54 +0800 Message-ID: To: Dmitry Stogov Cc: Stas Malyshev , Stogov Dmitry , Internals PHP , "stas@php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: Please expose zend_vm_get_opcde_handler From: laruence@gmail.com (Xinchen Hui) On Tue, Feb 14, 2012 at 3:02 PM, Xinchen Hui wrote: > On Tue, Feb 14, 2012 at 3:00 PM, Dmitry Stogov wrote: >> In general exposing zend_vm_get_opcode_handler() can't help. >> You know that executor might be generated/compiled not only using >> call-treading but also using switch or goto. In these cases >> zend_vm_get_opcode_handler() won't return a function that could be calle= d. > Hi: > =C2=A0sure, =C2=A0but I really need a way (even it's narrow) for my new e= xtension.. > Why I insistent this is there might be more than 80% php running with-vm-kind=3DCALL so expose this make sense for most of us. but you really remind me, that I shoud also add a flag to detect what the vm-kind now... thanks > =C2=A0or, should I make a patch to add a ZEND_USER_OPCODE_CALL_ME_LATER ? > > thanks >> >> Thanks. Dmitry. >> >> >> On 02/14/2012 10:43 AM, Stas Malyshev wrote: >>> >>> Hi! >>> >>>> Hi: >>>> a patch for this proposal: >>> >>> >>> Don't see any problem with it. Dmitry, any issues you see with it? >>> If not, we can commit it. >>> >> > > > > -- > =E6=83=A0=E6=96=B0=E5=AE=B8=C2=A0 =C2=A0 =C2=A0 =C2=A0 laruence > Senior PHP Engineer > http://www.laruence.com --=20 =E6=83=A0=E6=96=B0=E5=AE=B8=C2=A0 =C2=A0 =C2=A0 =C2=A0 laruence Senior PHP Engineer http://www.laruence.com