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

[email protected] ("John Coggeshall") Wed, 5 Mar 2003 18:13:51 -0500
Newsgroups php.dev
Message-ID <000d01c2e36c$e2a17380$6401a8c0@cooglewin>
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
>
>