Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57854 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45868 invoked from network); 14 Feb 2012 07:46:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2012 07:46:04 -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:65389] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/00-45380-A311A3F4 for ; Tue, 14 Feb 2012 02:46:03 -0500 Received: by vcbfk13 with SMTP id fk13so4447284vcb.29 for ; Mon, 13 Feb 2012 23:46:00 -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=gStHHtMK2+eKjbufkd6ZL4mKnzqSRfBZMm69bm3Vuvk=; b=m1NeaN9JCgG8ODchVK//zvNxRP0KkLl1jOwIJedIeWj9YaHFkYlCv3kbLxYdk+t7Fy nNJ/l5/fxldif2UwQbkeTTNRK2OlgfqOTALASMiJ6/C+GDtsH8n7Fbw37/ksC2OfbFsr 6GfYdjT6BcK6kG/tXz0WczUQli5vF7kfaES/Y= Received: by 10.220.7.208 with SMTP id e16mr3838798vce.0.1329205560167; Mon, 13 Feb 2012 23:46:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.178.130 with HTTP; Mon, 13 Feb 2012 23:45:40 -0800 (PST) In-Reply-To: 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:45:40 +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) Hi: after got some advise of dmitry on IRC, I decide to drawback this propos= al. and try to find a much better patch later. thanks very much, and sorry for noise. thanks On Tue, Feb 14, 2012 at 3:17 PM, Xinchen Hui wrote: > On Tue, Feb 14, 2012 at 3:13 PM, Stas Malyshev w= rote: >> 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, =C2=A0I am woking on a extension : taint > (https://github.com/laruence/php-ext-taint) , =C2=A0I need find a way to > set a handler which will be called after some built-in handler > > like: > =C2=A0 $a =C2=A0=3D "taint string"; > then > =C2=A0$b .=3D $a ; //should also be a taint string. > > =C2=A0as the code above shows, =C2=A0I need call ASSIGN_CONCAT first then= edit > the result of the last opline. > > > =C2=A0but 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 > > > > -- > =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