3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_filter(array(1,2,3), null));
Output for 5.3.0 - 7.2.0
Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in /in/1pf5t on line 3 NULL
Output for 4.3.2 - 5.2.17
Warning: array_filter(): The second argument, '', should be a valid callback in /in/1pf5t on line 3 NULL
Output for 4.3.0 - 4.3.1
Warning: array_filter() [http://www.php.net/function.array-filter]: The second argument, '', should be a valid callback in /in/1pf5t on line 3 NULL