Lines Matching refs:callback
5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
11 * callback functions are expected to return bool value for array_filter()
12 * here testing callback functions for return values other than bool
15 echo "*** Testing array_filter() : usage variations - callback function with different return value…
19 // callback functions
25 echo "callback function with int return value\n";
33 echo "callback function with float return value\n";
41 echo "callback function with string return value\n";
49 echo "callback function with null return value\n";
57 echo "callback function with array as return value\n";
63 *** Testing array_filter() : usage variations - callback function with different return values***
64 callback function with int return value
85 callback function with float return value
106 callback function with string return value
127 callback function with null return value
130 callback function with array as return value