Re: Re: Please expose zend_vm_get_opcde_handler

From: Date: Tue, 14 Feb 2012 07:45:40 +0000
Subject: Re: Re: Please expose zend_vm_get_opcde_handler
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-57854@lists.php.net to get a copy of this message
Hi: after got some advise of dmitry on IRC, I decide to drawback this proposal. 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 <laruence@gmail.com> wrote: > On Tue, Feb 14, 2012 at 3:13 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote: >> 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  = "taint string"; > then >  $b .= $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 > > > > -- > 惠新宸        laruence > Senior PHP Engineer > http://www.laruence.com -- 惠新宸        laruence Senior PHP Engineer http://www.laruence.com

« previous php.internals (#57854) next »