Test: /ext/standard/tests/array/array_map_variation17.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, integer given in %s/array_map_variation17.php:67
005+ Stack trace:
006+ #0 %s/array_map_variation17.php(67): array_map(0, Array)
007+ #1 {main}
008+ thrown in %s/array_map_variation17.php on line 67
004- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
005- NULL
006-
007- -- Iteration 2 --
008- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
009- NULL
010-
011- -- Iteration 3 --
012- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
013- NULL
014-
015- -- Iteration 4 --
016- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
017- NULL
018-
019- -- Iteration 5 --
020- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
021- NULL
022-
023- -- Iteration 6 --
024- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
025- NULL
026-
027- -- Iteration 7 --
028- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
029- NULL
030-
031- -- Iteration 8 --
032- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
033- NULL
034-
035- -- Iteration 9 --
036- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
037- NULL
038-
039- -- Iteration 10 --
040- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
041- NULL
042-
043- -- Iteration 11 --
044- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
045- NULL
046-
047- -- Iteration 12 --
048- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
049- NULL
050-
051- -- Iteration 13 --
052- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
053- NULL
054-
055- -- Iteration 14 --
056- Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid function name in %s on line %d
057- NULL
058-
059- -- Iteration 15 --
060- Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid function name in %s on line %d
061- NULL
062-
063- -- Iteration 16 --
064- Warning: array_map() expects parameter 1 to be a valid callback, array must have exactly two members in %s on line %d
065- NULL
066-
067- -- Iteration 17 --
068- Warning: array_map() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in %s on line %d
069- NULL
070-
071- -- Iteration 18 --
072- Warning: array_map() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in %s on line %d
073- NULL
074-
075- -- Iteration 19 --
076- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
077- NULL
078-
079- -- Iteration 20 --
080- Warning: array_map() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
081- NULL
082- Done