Lines Matching refs:return
2 Test array_map() function : usage variations - callback function with different return types
15 echo "*** Testing array_map() : callback with diff return value ***\n";
20 echo "-- with integer return value --\n";
23 return $a + $b;
27 echo "-- with string return value --\n";
30 return "$a"."$b";
34 echo "-- with bool return value --\n";
37 return TRUE;
41 echo "-- with null return value --\n";
44 return NULL;
48 echo "-- with no return value --\n";
58 *** Testing array_map() : callback with diff return value ***
59 -- with integer return value --
68 -- with string return value --
77 -- with bool return value --
86 -- with null return value --
95 -- with no return value --