Jens A. Koch

PHP Implementations


The official PHP implementation in C.

A PHP VM implementation in PHP.

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. Developed by Facebook.

JPHP – – –
JPHP implements PHP on the Java VM. It supports many features of the PHP language (5.6+).
JPHP is a compiler like javac, it compiles PHP source to JVM bytecode and executes the result on the Java VM.
Its basically a pure language implementation, because there are no additional libraries, like cURL or DB abstraction layers like PDO.
Boils down to: you can’t run your favorite Framework or CMS using JPHP, but you can use JPHP to stay in the PHP syntax and start using Java libs and classes and execute your JPHP code on Android.

Quercus –
Java implementation of PHP (formerly part of Resin).

Bianca is a fast, 100% Java implementation of the PHP language (fork of Quercus).

PH7 –
An Embedded Implementation of PHP (C Library).

Phalanger – – – @phpcompiler
PHP runtime & compiler for .NET/Mono.

HippyVM –
An implementation of the PHP language in RPython (Restricted Python). The PHP code is translated to RPython and then to native C.
The development of this approach was sponsored by Facebook, as part of finding an alternative to the Zend Engine.
They tried to get VC funding, but failed. Lesson learned: development of a HLL-VM is no startup business.

KPHP (KittenPHP) –
VKontake PHP to C++ transformer.

Roadsend PHP Compiler –

Roadsend PHP Raven –
Rewrite of the Roadsend PHP compiler in C++ using LLVM.

php compiler –
Written by Paul Biggar.

Recki-CT is a set of tools that implement a compiler for a subset of PHP written in PHP by Anthony Ferrara (@ircmaxell).

PyHP.js using PyHP

PyHP.js is a PHP interpreter in JavaScript running in a web browser. The underlying PyHP PHP interpreter  is written in Python is translated into C using RPython. This is translated into JavaScript using emscripten. The resulting javascript file is asm.js. It can be loaded in any browser or ran with Node.js.

PHP Interpreter pure 100% Erlang written by Manuel Rubio.

Peachpie –
Peachpie compiles PHP to the .NET environment.
It stands on the shoulders of Phalanger, but uses the new Roslyn Compiler Infrastructure from Microsoft.
It enables you to interface .NET libraries and classes. For example: WordPress running on .NET/Mono –

LLVM Playgrounds:

Zend ByteCode to LLVM Compiler –
(started by Nuno Lopes, not finished)


Tagua VM –
Tagua VM is an experimental PHP Virtual Machine written with the Rust language and the LLVM Compiler Infrastructure.
Written by Ivan Enderlin (

Comments Off on PHP Implementations

Comments are closed.