Test: /ext/standard/tests/array/uasort_variation2.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 2 passed to uasort() must be callable, integer given in %s/uasort_variation2.php:88
005+ Stack trace:
006+ #0 %s/uasort_variation2.php(88): uasort(Array, 0)
007+ #1 {main}
008+ thrown in %s/uasort_variation2.php on line 88
004- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
005- NULL
006- -- Iteration 2 --
007-
008- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
009- NULL
010- -- Iteration 3 --
011-
012- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
013- NULL
014- -- Iteration 4 --
015-
016- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
017- NULL
018- -- Iteration 5 --
019-
020- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
021- NULL
022- -- Iteration 6 --
023-
024- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
025- NULL
026- -- Iteration 7 --
027-
028- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
029- NULL
030- -- Iteration 8 --
031-
032- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
033- NULL
034- -- Iteration 9 --
035-
036- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
037- NULL
038- -- Iteration 10 --
039-
040- Warning: uasort() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
041- NULL
042- -- Iteration 11 --
043-
044- Warning: uasort() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
045- NULL
046- -- Iteration 12 --
047-
048- Warning: uasort() expects parameter 2 to be a valid callback, array must have exactly two members in %s on line %d
049- NULL
050- -- Iteration 13 --
051-
052- Warning: uasort() expects parameter 2 to be a valid callback, first array member is not a valid class name or object in %s on line %d
053- NULL
054- -- Iteration 14 --
055-
056- Warning: uasort() expects parameter 2 to be a valid callback, first array member is not a valid class name or object in %s on line %d
057- NULL
058- -- Iteration 15 --
059-
060- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
061- NULL
062- -- Iteration 16 --
063-
064- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
065- NULL
066- -- Iteration 17 --
067-
068- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
069- NULL
070- -- Iteration 18 --
071-
072- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
073- NULL
074- -- Iteration 19 --
075-
076- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
077- NULL
078- -- Iteration 20 --
079-
080- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
081- NULL
082- -- Iteration 21 --
083-
084- Warning: uasort() expects parameter 2 to be a valid callback, function '' not found or invalid function name in %s on line %d
085- NULL
086- -- Iteration 22 --
087-
088- Warning: uasort() expects parameter 2 to be a valid callback, function '' not found or invalid function name in %s on line %d
089- NULL
090- -- Iteration 23 --
091-
092- Warning: uasort() expects parameter 2 to be a valid callback, function 'string' not found or invalid function name in %s on line %d
093- NULL
094- -- Iteration 24 --
095-
096- Warning: uasort() expects parameter 2 to be a valid callback, function 'string' not found or invalid function name in %s on line %d
097- NULL
098- -- Iteration 25 --
099-
100- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
101- NULL
102- -- Iteration 26 --
103-
104- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
105- NULL
106- -- Iteration 27 --
107-
108- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
109- NULL
110- -- Iteration 28 --
111-
112- Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in %s on line %d
113- NULL
114- Done