ID:               43978
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zy at adels dot zp dot ua
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Windows/Linux
 PHP Version:      5.2.5
 New Comment:

PHP won't directly work without at least the help from a runtime
library where most of the time is spent. Feel free to implement it, I
think no dev currently sees benefit in this and therefore won't
implement it.


Previous Comments:
------------------------------------------------------------------------

[2008-01-30 00:08:41] zy at adels dot zp dot ua

Description:
------------
Why not to compile PHP to a native code. This will dramatically
increase its execution speed. PHP developers really need this because it
is expensive to use PHP when developing complicated web application.

For example, now I have a project where system needs to make a lot of
calculations to make a series of decisions using data from the database
containing several millions of records.

One of its components has a following statistics:
[Debug] Time: 9.511
[Debug] Queries: 6135
[Debug] Query time: 3.11026215553

This means that it took 3 seconds to make more than 6 thousands of not
simple queries and 6.5 seconds to process them using PHP. Native code
(or even .NET code which compiles to native code) performs such kind of
tasks faster in order of magnitude.

We really need a native code compiler (at least for x86 Linux and
Windows). If it was possible to create a compiler for Visual Basic 5 and
6 then it is possible to create one for PHP.

Expected result:
----------------
faster execution



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43978&edit=1

Reply via email to