Phalanger - the PHP Language Compiler for .NET Framework
Posted
Wednesday, March 23, 2005 2:59 PM
by
Mischa Kroon
Run PHP code under .Net unmodified today:
http://php-compiler.net/
Highlights
Run PHP from inside .Net
compiled functions, classes and interfaces can be used from other .NET languages (like C#)
PHP code can call methods declared in the Phalanger's Class Library (methods annotated by certain metadata are visible to PHP code)
development of ASP.NET web applications made up from existing PHP scripts
compiled scripts run faster than interpreted ones and even those sped-up by PHP encoders (see benchmarks)
console applications written in PHP are compiled into single-module executable .NET assemblies
libraries of PHP classes, interfaces, constants and functions are compiled into single-module .NET assemblies
more than 450 PHP functions implemented in the Phalanger Class Library
all PHP extensions are available to any other .NET language via managed wrappers
managed wrappers encapsulates native extension dlls with a managed layer hiding implementation details of extension dlls
Integrates the PHP language into Microsoft Visual Studio .NET
- a new type of project for PHP console applications and libraries
- syntax highlighting
- syntax checking
- integrated project building
- simple tracing using compiler-generated debug symbols (experimental in this version)