encyclopegia.org

Phalanger (compiler)

Phalanger is a compiler front end for compiling PHP source code into CIL byte-code, which can be further processed by the .NET Framework's just-in-time compiler.[src] The project was started at Charles University and is supported by Microsoft.[src] Phalanger was discontinued in favor of the more modern PeachPie compiler, which utilizes the Roslyn API.[src]

Phalanger is a compiler front end for compiling PHP source code into CIL byte-code, which can be further processed by the .NET Framework's just-in-time compiler.[src] The project was started at Charles University and is supported by Microsoft.[src] Phalanger was discontinued in favor of the more modern PeachPie compiler, which utilizes the Roslyn API.[src] ==Compatibility== Phalanger can run real-world PHP applications, many with minor to no modifications.[src] Examples include WordPress, phpMyAdmin and phpBB.[src] ==Performance== One of the main goals of the project is to improve performance of PHP applications.[src] The project web page claims considerable performance benefits over a 32-bit Windows version of PHP.[src] There was a project at Charles University to re-implement the Phalanger core using the Microsoft Dynamic Language Runtime (DLR), and to develop a Visual Studio integration tool to provide IntelliSense for the PHP language.[src] Though some features from DLR would slow down the performance of Phalanger , they do claim performance gains by a factor of 6.[src] These features are being integrated into current Phalanger core.[src] ==Google Summer of Code== A project involving Phalanger was mentored by the Mono team during the Google Summer of Code program in 2008.[src] During this period Phalanger was ported to the Silverlight 2.0 framework with the goal of making it work on Moonlight as well.[src] ==Jadu sponsorship== Early in 2008, UK Content Management vendor Jadu partnered with the Prague-based team to improve communication between .NET and the Phalanger compiler.[src] It is based on duck typing and provides a way for accessing objects from the dynamic PHP world that lack compile-time type information from a statically typed language in a .NET environment in a type-safe way.[src] In December 2008, Jadu announced that it has made the compiler available to the developer community and in interviews with ITPRO and VNUnet said that the development would help close the skills gap between PHP and .NET.[src] ==Devsense support & development== Since 2009, DEVSENSE company leads the development of the project and offers commercial support.[src] DEVSENSE consists of core Phalanger developers and keeps this open-source project alive.[src] In addition to maintenance and growth of the project, Devsense is providing Visual Studio integration of Phalanger for the community.[src] Since 2012, DEVSENSE provides support forum for Phalanger (compiler) and related projects for the community.[src] ==Legacy== The last PHP version supported by Phalanger is 5.4.[src] The GitHub project is marked "Deprecated" and (as of 2019) it hasn't been updated for years.[src] The GitHub page also announces a new project, PeachPie compiler as its successor for PHP 7.1.[src] PeachPie can compile code using PHP 5.4 syntax or newer, and is officially supported by .NET Foundation.[src] ==References== ==External links== Phalanger PHP compiler blog Phalanger discussion forum Phalanger commercial support Phalanger source control and issue tracker Official Web Page for previous version 1.0 Microsoft accommodates dynamic languages (article) Channel 9 Phalanger[src]

27 sentences · 27 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Phalanger (compiler)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/phalanger-compiler. Accessed 28 November 2026.

Chicago

"Phalanger (compiler)." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/phalanger-compiler.

APA

encyclopegia.org. (2026). Phalanger (compiler). Retrieved November 28, 2026, from https://encyclopegia.org/wiki/phalanger-compiler

Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

compiler-compiler

stub · references available

Tiny C Compiler

stub · references available

Compiler

stub · references available

Glasgow Haskell Compiler

stub · references available

Java compiler

stub · references available

Compiler Description Language

stub · references available

SPITBOL compiler

stub · references available

Category:Compiler

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1372426411 · 0.5 · snapshot enwiki-001372426411

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.