Test: /ext/standard/tests/array/array_map_variation16.phpt - Version 7.0.16-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
004+ Fatal error: Uncaught TypeError: Argument 1 passed to array_map() must be callable, string given in %s/array_map_variation16.php:31
005+ Stack trace:
006+ #0 %s/array_map_variation16.php(31): array_map('echo', Array)
007+ #1 {main}
008+ thrown in %s/array_map_variation16.php on line 31
004- Warning: array_map() expects parameter 1 to be a valid callback, function 'echo' not found or invalid function name in %s on line %d
005- NULL
006- -- Iteration 2 --
007-
008- Warning: array_map() expects parameter 1 to be a valid callback, function 'array' not found or invalid function name in %s on line %d
009- NULL
010- -- Iteration 3 --
011-
012- Warning: array_map() expects parameter 1 to be a valid callback, function 'empty' not found or invalid function name in %s on line %d
013- NULL
014- -- Iteration 4 --
015-
016- Warning: array_map() expects parameter 1 to be a valid callback, function 'eval' not found or invalid function name in %s on line %d
017- NULL
018- -- Iteration 5 --
019-
020- Warning: array_map() expects parameter 1 to be a valid callback, function 'exit' not found or invalid function name in %s on line %d
021- NULL
022- -- Iteration 6 --
023-
024- Warning: array_map() expects parameter 1 to be a valid callback, function 'isset' not found or invalid function name in %s on line %d
025- NULL
026- -- Iteration 7 --
027-
028- Warning: array_map() expects parameter 1 to be a valid callback, function 'list' not found or invalid function name in %s on line %d
029- NULL
030- -- Iteration 8 --
031-
032- Warning: array_map() expects parameter 1 to be a valid callback, function 'print' not found or invalid function name in %s on line %d
033- NULL
034- Done