run code in 200+ php & hhvm versions
Bugs & Features
<?php function say hello() { echo 'Hello world'; } say hello();

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Arrow functions
Hello world
Output for Object typehint
Hello world
Output for Array change keys
Hello world
Output for Lexical anon
Hello world
Output for Typed properties
Hello world

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page