phc logo

Contributors needed

phc is looking for contributors to help complete the compiler, add new features, and further test existing functionality. Developers who are familiar with (or willing to learn) the PHP C API are particularly desired, but anybody with a knowledge of C++, C or PHP are appreciated. See the Developers and Contributors for more details.

Documentation

User and Developer Manual

The User Manual details how to configure, compile, install, and test phc. It also discusses how to use phc's XML output, and phc's command line options. The Developer Manual describes how to create plugins to analyse or manipulate PHP using phc, and how to modify phc's internals. Both the user and the developer manual are available in the same document. The latest version (0.2.0) is available to download (PDF or HTML) or online). We don't recommend any other version, though previous versions are archived.

Other documentation:

The phc front end is described in: Design and Implementation of a PHP Compiler Front-end. Edsko de Vries and John Gilbert.

maketea and the AST visitors and transformers are described in: Processing ASTs in C++: maketea. Edsko de Vries, John Gilbert and David M Abrahamson.

Articles