--TEST-- Test array_filter() function : usage variations - built-in functions as 'callback' argument --FILE-- --EXPECTF-- *** Testing array_filter() : usage variations - built-in functions as 'callback' argument *** array(6) { [0]=> int(0) [1]=> int(1) [2]=> int(-1) [3]=> int(10) [4]=> int(100) [5]=> int(1000) } array(8) { [0]=> int(0) [1]=> int(1) [2]=> int(-1) [3]=> int(10) [4]=> int(100) [5]=> int(1000) [6]=> string(5) "Hello" [7]=> NULL } Warning: array_filter(): The second argument, 'echo', should be a valid callback in %s on line %d NULL Warning: array_filter(): The second argument, 'exit', should be a valid callback in %s on line %d NULL Done