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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
003+ Fatal error: Uncaught TypeError: Argument 2 passed to array_reduce() must be callable, string given in %s/array_reduce_variation2.php:13
004+ Stack trace:
005+ #0 %s/array_reduce_variation2.php(13): array_reduce(Array, 'bogusbogus')
006+ #1 {main}
007+ thrown in %s/array_reduce_variation2.php on line 13
003- Warning: array_reduce() expects parameter 2 to be a valid callback, function 'bogusbogus' not found or invalid function name in %sarray_reduce_variation2.php on line %d
004- NULL
005-
006- Warning: array_reduce() expects parameter 1 to be array, string given in %sarray_reduce_variation2.php on line %d
007- NULL
008-
009- Warning: array_reduce() expects parameter 1 to be array, object given in %sarray_reduce_variation2.php on line %d
010- NULL
011- ===DONE===