3v4l.org

run code in 300+ PHP versions simultaneously
<?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.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '}' in /in/Y16hl on line 3
Process exited with code 255.

preferences:
180.93 ms | 1399 KiB | 63 Q