3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh ( function($x) { return $x + 1; })(3);
based on JSNOZ
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function hh() in /in/FRdTO:1 Stack trace: #0 {main} thrown in /in/FRdTO on line 1
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Output for 5.4.0 - 5.6.28
Parse error: syntax error, unexpected '(' in /in/FRdTO on line 3
Process exited with code 255.
Output for 4.3.0 - 5.3.29
<?hh ( function($x) { return $x + 1; })(3);