Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57852 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42217 invoked from network); 14 Feb 2012 07:18:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2012 07:18:21 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; 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:49673] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/A4-16962-CBA0A3F4 for ; Tue, 14 Feb 2012 02:18:20 -0500 Received: by vcbfk13 with SMTP id fk13so4436647vcb.29 for ; Mon, 13 Feb 2012 23:18:17 -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=j/TElr5OGTkgQioYjhPW0DEUiD4UyyYJL1It0Hw+jqE=; b=TXOOc5kYEM0wIDBiOLXAavE/MvUGM1TA54MQKX9lHPOcSqfiSvuKz3hZ88FRCTzDQu DMJXr0P1UJIqM4vg75jNx+4T0pyHegwKpz+Na0jop2c1MLsZLkrlgKQuI9yT3qgXAp02 r9E4Zk89hlVVEBczlpi/OM9uKf/KdaPu73NIc= Received: by 10.220.7.208 with SMTP id e16mr3805493vce.0.1329203897169; Mon, 13 Feb 2012 23:18:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.178.130 with HTTP; Mon, 13 Feb 2012 23:17:57 -0800 (PST) In-Reply-To: <4F3A099B.4020409@sugarcrm.com> References: <-6357718405742688648@unknownmsgid> <4F3A0282.9040502@sugarcrm.com> <4F3A0685.8010604@zend.com> <4F3A08E1.5050608@sugarcrm.com> <4F3A099B.4020409@sugarcrm.com> Date: Tue, 14 Feb 2012 15:17:57 +0800 Message-ID: To: Stas Malyshev Cc: Dmitry Stogov , 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:13 PM, Stas Malyshev wro= te: > Hi! > > >> okey, let's just talk about adding ZEND_API. :) > > > But as Dmitry noted, it's only present in one model, so how useful would = it > be? I don't want to add patches that are not beneficial for anything but = a > very narrow use case. Could you explain what are you trying to do? okey, I am woking on a extension : taint (https://github.com/laruence/php-ext-taint) , I need find a way to set a handler which will be called after some built-in handler like: $a =3D "taint string"; then $b .=3D $a ; //should also be a taint string. as the code above shows, I need call ASSIGN_CONCAT first then edit the result of the last opline. but now I can not do it unless copy the origin handler and all it denpend codes, then call it myself (which is what I did now)... thanks > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 --=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