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

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
005+ Fatal error: Uncaught TypeError: Argument 2 passed to array_reduce() must be callable, integer given in %s/array_reduce_error.php:17
006+ Stack trace:
007+ #0 %s/array_reduce_error.php(17): array_reduce(Array, 1, 10, 10)
008+ #1 {main}
009+ thrown in %s/array_reduce_error.php on line 17
005- Warning: array_reduce() expects at most 3 parameters, 4 given in %sarray_reduce_error.php on line %d
006- NULL
007-
008- -- Testing array_reduce() function with less than expected no. of arguments --
009-
010- Warning: array_reduce() expects at least 2 parameters, 1 given in %sarray_reduce_error.php on line %d
011- NULL
012- ===DONE===