Sure.  Modify the Zend Engine so that it can be told to write the parsed
opcodes to a file instead of executing them.  Then modify ZE to be able to
recognize those binary files, and execute them directly without the need for
parsing.  It should give you a performance increase and let you distribute
partially compiled - and thus scrambled - binaries of your code.  The real
trick is understanding the parsed opcode tree well enough to serialize it to
disk.  I assume that this is very similar to how the Zend products (Encoder,
cache, etc.) do this though, so I'm not sure you would want to step on any
toes by doing it.

-Brad


Rasmus Resen Amossen wrote:

> This mail concern scrambling again, but PLEASE do NOT start a political
> thread (again) on whether it's a good idea or not. Does anybody have a
> good idea on how to do it?
>
> --
> Rasmus Resen Amossen | stud.mat.dat at the University of Copenhagen
> Jagtvej 120, -244    | http://www.math.ku.dk/muh
> 2200 Kbh. N          | http://www.ruf.adr.dk
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to