3v4l.org

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

preferences:
179.07 ms | 1399 KiB | 54 Q