Re: A new php extension for dumping opcodes

From: Date: Thu, 17 May 2012 08:09:14 +0000
Subject: Re: A new php extension for dumping opcodes
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9409@lists.php.net to get a copy of this message
On Thu, 17 May 2012, Eric Zhang wrote: > 在 2012-5-17,上午11:42, Laruence 写道: > > > On Thu, May 17, 2012 at 10:35 AM, 张洋 <ericzhang.buaa@gmail.com> wrote: > >> > >> This is the first time I send mail to PECL mailing list. > >> > >> My name is Eric Zhang. I am a coder come from China.PR. Just last > >> week, I wrote a php extension, Opdumper > >> <https://github.com/ericzhang-cn/opdumper>, > >> which could dumps > >> opcodes. Unlink some exist opcode dumper such as VLD, Opdumper has > >> both CLI API and PHP_FUNCTION API, Two php functions, > >> od_dump_opcodes_string and od_dump_opcodes_file, were provided by > >> this extension. What's more, I set up a Web service for Opdumper, > >> people who wants to dump opcodes but wants not to install a new php > >> extension can do this at > >> http://supercompiler.com/app/opcode_dumper. > > > > nice tool, a php function will be appreciated by some PHP dynamic > > analyzers, anyway, maybe you can also proposal to improve vld > > (introduce a php function for it), as a patch :) > > > > In fact, I intend to implement this functions by extending VLD at > first. But I wrote a new extension because I hope to keep this tool > simple and stupid. Anyway, introduce similar functions is a good idea. > I already started this work ; - ) I'd have welcomed such a patch. I don't think it makes too much sense to have two extensions for this. You can find it here on github: https://github.com/derickr/vld cheers, Derick

« previous php.pecl.dev (#9409) next »