Actually found that the foreigner has a project to make PHP image. NET, the core is to compile PHP into MSIL on the framework.
Actually see http://www.php-compiler.net/, and this year actually still final 1.0 out, this object put PHP on the. NET Platform people say
Is good news.
February 2006:phalanger version 1.0 (final) has been released and was available for download. Several new native extensions is now supported by Phalanger (Calendar, ODBC, Winbinder). MySQL extension is fully managed and works with the latest versions of MySQL server. The final version also fixes many bugs and adds functions and features of PHP 5.1.2. See Change log for details
The Phalanger is a complex solution giving web-application developers the ability-benefit from both the Ease-of-use and effectiveness of the PHP language and the power and richness of the. NET platform. This solution enables developers to painlessly deploy and run existing PHP code in an ASP. Web server and develop cross -platform extensions to such code taking profit from the best from both sides. Compatible with PHP 5.0, the object model in Phalanger enables to combine PHP objects with the. NET ones. It is possible to use a class written in PHP from a. NET application or even to import a. NET class (written for example I N C # or Visual Basic. NET) into PHP scripts provided, this class respects, the PHP object model implemented in the Phal Anger. The Phalanger is the only existing PHP compiler which produces. NET Framework MSIL bytecode.
From another point of view, Phalanger provides the. NET programmers with the giant amount of practical PHP functions an D data Structures-many of them reimplemented in the managed environment of the. NET Framework. The whole Phalanger class library (including functions implemented in the PHP extensions) are accessible to a. NET Programm Er regardless to she favorite programming language together with type information and In-library debugging.
For least, compilation of PHP scripts gives yet more power to the existing Web applications in the Phalan GER environment. All the static (Run-time immutable) code in the scripts gets parsed and compiled only once and all following accesses to a Page benefit from the unleashed execution of the native compilation of the script. Yet the usage of Phalanger is not limited to Web applications. The compiler supports output of standalone executables or dynamic link libraries enabling you to create managed PHP Consol e applications or library modules reusable from any other. NET Framework application.