RE: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it

From: Date: Wed, 05 Mar 2003 23:13:51 +0000
Subject: RE: [PHP-DEV] Doing something with an each opcode as zend_execute() handles it
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94822@lists.php.net to get a copy of this message
Look at zend_init_opcodes_handlers() and the zend_opcode_handler array.. John >-----Original Message----- >From: George Schlossnagle [mailto:george@omniti.com] >Sent: Wednesday, March 05, 2003 6:10 PM >To: David Sklar >Cc: Sterling Hughes; php-dev@lists.php.net >Subject: Re: [PHP-DEV] Doing something with an each opcode as >zend_execute() handles it > > >> Essentially, I want to be able to produce a sort of serialized >> representation of the opcodes, but as they are executed, not all in >> one big chunk after they are compiled. >> >> This isn't for any actually useful production code, just some >> debugging/messing around/exploring engine internals. >> > >There's no good way to do this as a zend_extension in ZE1 (that I know >of). You need to patch the engine (which is trivial). > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.dev (#94822) next »