--TEST-- Test array_map() function : usage variations - failing built-in functions & language constructs --FILE-- getMessage(), "\n"; } } echo "Done"; ?> --EXPECT-- *** Testing array_map() : non-permmited built-in functions *** -- Iteration 1 -- array_map(): Argument #1 ($callback) must be a valid callback, function "echo" not found or invalid function name -- Iteration 2 -- array_map(): Argument #1 ($callback) must be a valid callback, function "array" not found or invalid function name -- Iteration 3 -- array_map(): Argument #1 ($callback) must be a valid callback, function "empty" not found or invalid function name -- Iteration 4 -- array_map(): Argument #1 ($callback) must be a valid callback, function "eval" not found or invalid function name -- Iteration 5 -- array_map(): Argument #1 ($callback) must be a valid callback, function "exit" not found or invalid function name -- Iteration 6 -- array_map(): Argument #1 ($callback) must be a valid callback, function "isset" not found or invalid function name -- Iteration 7 -- array_map(): Argument #1 ($callback) must be a valid callback, function "list" not found or invalid function name -- Iteration 8 -- array_map(): Argument #1 ($callback) must be a valid callback, function "print" not found or invalid function name Done