Lines Matching refs:function
2 Test array_map() function : error conditions
13 echo "\n-- Testing array_map() function with Zero arguments --\n";
17 echo "\n-- Testing array_map() function with one less than expected no. of arguments --\n";
18 function callback1() {
27 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
29 function callback2($p, $q) {
38 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
48 -- Testing array_map() function with Zero arguments --
53 -- Testing array_map() function with one less than expected no. of arguments --
58 -- Testing array_map() function with less no. of arrays than callback function arguments --
59 Exception: Too few arguments to function callback2(), 1 passed and exactly 2 expected
61 -- Testing array_map() function with more no. of arrays than callback function arguments --