3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = function(){var_dump(func_get_args()); return true}; $y = array ('foo'=>1,2,3,4); array_filter($y, $x);
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '}' in /in/Y16hl on line 3
Process exited with code 255.