Test: /ext/standard/tests/array/array_reduce.phpt - Version 5.4.27-dev    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001- *** Testing array_reduce() to integer ***
002- int(61)
003- int(42)
005- *** Testing array_reduce() to float ***
006- float(6.1)
007- float(4.2)
008-
009- *** Testing array_reduce() to string ***
010- string(23) "quuxfoofoobarquxquxquux"
011- string(4) "quux"
012-
013- *** Testing array_reduce() to array ***
014- array(4) {
015- ["foo"]=>
016- int(44)
017- ["bar"]=>
018- int(18)
019- ["qux"]=>
020- int(0)
021- ["quux"]=>
022- int(1)
023- }
024- array(4) {
025- ["foo"]=>
026- int(42)
027- ["bar"]=>
028- int(17)
029- ["qux"]=>
030- int(-2)
031- ["quux"]=>
032- int(0)
033- }
034-
035- *** Testing array_reduce() to null ***
036- string(19) "foofoobarquxquxquux"
037- NULL
038-
039- Done