PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Can .NET make PHP run faster than the official PHP implementation?

Note: This article was originally published at Planet PHP on 15 December 2011.
Planet PHP
Can .NET make PHP run faster than the official PHP implementation? By Manuel Lemos Phalanger is compiler that generates .NET assemblies from PHP code, so it runs in a .NET virtual machine.

The latest benchmarks seem to indicate that PHP applications compiled by Phalanger execute noticeably faster than when they are executed by the official PHP implementation based on Zend engine, even when a caching extension is used.

Read this article to learn how Phalanger works and what lessons can be learned to make the official PHP implementation run at least as fast, eventually in PHP 6 based on Zend Engine 3.