- 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.
<?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")));