3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function value($s) { $s = array(1); $args = func_get_args(); $s = array_shift($args); return ($s[0] == 2)); } var_dump(value(array(2)));
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected ')' in /in/4or8E on line 9
Process exited with code 255.