3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh // strict function foo() { var_dump(func_get_args()); } foo("a","b");
based on nnH6t
Output for hhvm-3.10.0 - 3.12.0
array(2) { [0]=> string(1) "a" [1]=> string(1) "b" }
Output for 5.4.34
Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /in/IeQ9K on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?hh // strict function foo() { var_dump(func_get_args()); } foo("a","b");