3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = Array( Array ( 'd1' => 'P', 'd2' => '', 'd3' => '' ), Array ( 'd1' => '', 'd2' => 'A', 'd3' => 'P' ) ); $result = call_user_func_array("array_filter", $input); var_export($result);
based on nXFCC
Output for 5.6.38 - 7.3.0rc3
Warning: array_filter() expects parameter 2 to be a valid callback, array must have exactly two members in /in/FInFp on line 17 NULL