PHP Script Compile System

From: Date: Wed, 22 Feb 2012 05:49:32 +0000
Subject: PHP Script Compile System
Groups: php.internals 
Request: Send a blank email to internals+get-57930@lists.php.net to get a copy of this message
Hello all, I am think(actually drafting) about the compilation system of PHP scripts. I want to make a native C extension which is able to compile the scripts in the Zend Engines opcodes and execute directly when called. The extension may have two functions. bool gpc_compile($source, $target): compile file to opcodes. mixed gpc_import($target) Include file to current script. gpc_import function accepting path to the compiled file and execute file into the zend engine. I want to know perception of you all about this. Thank you. Deepak Balani

« previous php.internals (#57930) next »