Is it possible to compile Framework in to php extension?
Have any one thought of compiling Zend Framework or any other ph开发者_如何学编程p framework in to DLL or SO library like PDO for example, is that entirely possible and what side effects can it cause?
The standard way would be to provide your package via PEAR. Alternatively you can pack up your package into an PHP archive.
There is a PHP compiler from Facebook called HipHop-PHP, but it does currently not support all functionality (Zend Framework can't be compiled yet). There's also Roadsend PHP which is currently being re-implemented.
There's no way to compile a normal PHP application as an php extension (yet?!).
精彩评论