Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Compiler

A compiler is a program that performs compilation: it translates source code into another form, typically machine code or bytecode.

The term compiler can refer to:

  • The PHP compiler that translates PHP source code into opcodes
  • Tools like KPHP or static-php-cli that compile PHP to binary
  • The halt-compiler construct that signals end of PHP code in a file
  • The PHP-Parser library which provides a compiler-like AST transformation.

Documentation

See Also