Look at zend_init_opcodes_handlers() and the zend_opcode_handler array..
John >-----Original Message----- >From: George Schlossnagle [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 05, 2003 6:10 PM >To: David Sklar >Cc: Sterling Hughes; [EMAIL PROTECTED] >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 > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php