3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?hh echo ( function($x) { return $x + 1; })(3);
based on FRdTO
Output for 5.4.34
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/VL4i9 on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?hh echo ( function($x) { return $x + 1; })(3);