From:             zy at adels dot zp dot ua
Operating system: Windows/Linux
PHP version:      5.2.5
PHP Bug Type:     Feature/Change Request
Bug description:  Compile PHP to native code

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 bug report at http://bugs.php.net/?id=43978&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43978&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43978&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43978&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43978&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43978&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43978&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43978&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43978&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43978&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43978&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43978&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43978&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43978&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43978&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43978&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43978&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43978&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43978&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43978&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43978&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43978&r=mysqlcfg

Reply via email to