Wednesday, July 13, 2011

Is PHP complied ?

PHP is compiled at run time. The external PHP compliers merely cleans up the code to make it compile faster.
But it is always complied at run time; ie, when a user accesses the webpage.

PHC is an open source compiler for PHP with support for plugins. In addition, it can be used to pretty-print or obfuscate
PHP code, as a framework for developing applications that process PHP scripts, or to convert PHP into XML and back,
enabling processing of PHP scripts using XML tools.

ref : http://www.phpcompiler.org/