Re: Opcode compilation

From: Date: Sat, 17 Jul 2004 00:47:28 +0000
Subject: Re: Opcode compilation
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-969@lists.php.net to get a copy of this message
have a look at bcompiler in CVS - I started adding support for PHP5 the other day - the codes pretty clear.. - by looking at /usr/include/php/zend/*.h and seeing all the structs you can work out how to serialize all the data reasonably easily. Regards Alan bgardner333 wrote:
I am writing (yet another!) Opcode compiler for PHP. I understand the basics of writing extensions, but I was wondering if there is any thorough documentation of zend's compilation methods etc... The other question I have would be more of a general programming question : what is the best way to serialize the zend_op_array structure into a format that I can write to a file? Thanks!


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