Lines Matching refs:callback
2 Test array_filter() function : usage variations - anonymous callback functions
5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
11 * Passing different anonymous callback functions with passed by value and reference arguments
14 echo "*** Testing array_filter() : usage variations - Anonymous callback functions ***\n";
18 // anonymous callback function
19 echo "Anonymous callback function with regular parameter and statement\n";
22 // anonymous callback function with reference
23 echo "Anonymous callback function with reference parameter\n";
26 // anonymous callback function with null argument
27 echo "Anonymous callback funciton with null argument\n";
30 // anonymous callback function with argument and null statement
31 echo "Anonymous callback function with regular argument and null statement\n";
37 *** Testing array_filter() : usage variations - Anonymous callback functions ***
38 Anonymous callback function with regular parameter and statement
47 Anonymous callback function with reference parameter
58 Anonymous callback funciton with null argument
77 Anonymous callback function with regular argument and null statement