Lines Matching refs:return
2 Test array_map() function : usage variations - callback function with different return types
10 echo "*** Testing array_map() : callback with diff return value ***\n";
15 echo "-- with integer return value --\n";
18 return $a + $b;
22 echo "-- with string return value --\n";
25 return "$a"."$b";
29 echo "-- with bool return value --\n";
32 return TRUE;
36 echo "-- with null return value --\n";
39 return NULL;
43 echo "-- with no return value --\n";
53 *** Testing array_map() : callback with diff return value ***
54 -- with integer return value --
63 -- with string return value --
72 -- with bool return value --
81 -- with null return value --
90 -- with no return value --