3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function not($f) { return function () use ($f) { return !call_user_func_array($f, func_get_args()); } } var_dump(array_filter([null, 0, 1, 2], not("is_null")));
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '}' in /in/LfVnY on line 7
Process exited with code 255.