--TEST-- Test array_walk_recursive() function : usage variations - anonymous callback function --FILE-- --EXPECTF-- *** Testing array_walk_recursive() : anonymous function as callback *** -- Anonymous function with one argument -- int(2) int(5) int(10) int(0) bool(true) -- Anonymous function with two arguments -- int(0) int(2) int(1) int(5) int(0) int(10) int(1) int(0) bool(true) -- Anonymous function with three arguments -- int(0) int(2) int(10) int(1) int(5) int(10) int(0) int(10) int(10) int(1) int(0) int(10) bool(true) -- Anonymous function with one more argument -- Warning: array_walk_recursive() expects at most 3 parameters, 4 given in %s on line %d NULL -- Anonymous function with null argument -- 1 1 1 1 bool(true) Done