Page 1 of 1

Two topics on PHP

Posted: Fri Apr 13, 2007 9:49 am
by omidkamangar
Hi,
I have heard two things about PHP :
1- It is dynamically compiled (PHP5).
2- It can be used as standalone binaries.

I need more information about this two topics for my presentation on the day after tomorrow. I googled but found nothing.
Can anyone help me with this two topics? It is really urgent. :(

Posted: Fri Apr 13, 2007 9:56 am
by guitarlvr
PHP is not a compiled language. It is just parsed by the web server. I'm not exactly sure what you mean by standalone binaries.

Wayne

Posted: Fri Apr 13, 2007 10:42 am
by RobertGonzalez
Try checking out the PHP Manual. It is a great tool.

PHP is interpreted, not compiled. That means that every page is run through the PHP engine on every call and interpreted (or processed) on every call. As for be used as stand alone binaries... what do you mean by that?

Posted: Fri Apr 13, 2007 3:09 pm
by omidkamangar
In the book from Wiley called PHP5 and MySQL Bible, I read that PHP is now dynamically compiled and can be run as standalone binaries.
I will send the exact page numbers soon.

Posted: Fri Apr 13, 2007 3:40 pm
by Christopher
There are PHP compilers around ... but 99.9% of the time PHP is run as an interpreted language from within a webserver. That is how it is designed to be run. I do not believe there is an official support by the PHP Group for compiled PHP program binaries.

Posted: Fri Apr 13, 2007 5:13 pm
by Weirdan
php scripts as standalone executables: http://ua2.php.net/bcompiler
and yes, php is 'compiled' just like java is.