Re: [PHP] PHP complied code

2003-01-02 Thread Kevin Stone
Actually all PHP4 code is compiled before it is executed.  What the author
of that book suggests is pre-compiling a script.  The difference between a
standard script and a pre-compiled script is the time it takes to parse the
code.  You might pre-compile scripts that are going to see heavy use on your
server.  Or you might pre-compile a very large script to avoid the inherent
latency in the interpretor as an optimization step.

The only encoder I know of is Zend Encoder ($2400) at  www.zend.com.

Here's the deal though.  If you don't know that you need to pre-compile then
chances are you don't have to.  The benefits to the casual programmer are
negligable.

-Kevin

- Original Message -
From: "Manuel Ochoa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 1:46 PM
Subject: [PHP] PHP complied code


>
> I recently read a book on PHP and the author breifly said that if you
compile the PHP code it would improve the performance.
>
> Is there a way to compile the code?
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP complied code

2003-01-02 Thread Andrew Brampton
If maybe you googled, or even read a message posted 4 minutes earier, you
would see there are such programs as:
ionCube PHP Accelerator: www.php-accelerator.co.uk
Zend optimizer/encoder www.zend.com

Andrew

- Original Message -
From: "Manuel Ochoa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 8:46 PM
Subject: [PHP] PHP complied code


>
> I recently read a book on PHP and the author breifly said that if you
compile the PHP code it would improve the performance.
>
> Is there a way to compile the code?
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP complied code

2003-01-02 Thread Manuel Ochoa

I recently read a book on PHP and the author breifly said that if you compile the PHP 
code it would improve the performance.

Is there a way to compile the code?