Lines Matching refs:array_map
2 Test array_map() function : usage variations - null value for 'callback' argument
6 * Test array_map() by passing null values for $callback argument and testing whether shortest
10 echo "*** Testing array_map() : null value for 'callback' argument ***\n";
21 /* calling array_map() with null callback */
24 var_dump( array_map(null, $arr1, $arr2, $arr3) );
25 var_dump( array_map(NULL, $arr1, $arr2, $arr3) );
28 var_dump( array_map(@$unset_var, $arr1, $arr2, $arr3) );
31 var_dump( array_map(@$undefined_var, $arr1) );
35 var_dump( array_map("", $arr1, $arr2) );
42 var_dump( array_map(array(), $arr1, $arr2) );
50 *** Testing array_map() : null value for 'callback' argument ***
121 array_map(): Argument #1 ($callback) must be a valid callback or null, function "" not found or inv…
123 array_map(): Argument #1 ($callback) must be a valid callback or null, array callback must have exa…