Test: /ext/standard/tests/array/sort_variation5.phpt - Version 5.3.10    

There are 7 different diffs reported by users for this test.

Count Diff
4346 (100%)
023+ string(1) "
"
023- string(1) "
024- "
052+ string(1) "
"
053- string(1) "
054- "
081+ string(1) "
"
083- string(1) "
084- "
8 (0%)
1 (0%)
001- *** Testing sort() : usage variations ***
003- -- Testing sort() by supplying various string arrays --
004-
005- -- Iteration 1 --
006- - With Default sort flag -
007- bool(true)
008- array(12) {
009- [0]=>
010- NULL
011- [1]=>
012- NULL
013- [2]=>
014- string(1) " "
015- [3]=>
016- string(1) "
017- "
018- [4]=>
019- string(1) " "
020- [5]=>
021- string(1) " "
022- [6]=>
023- string(1) "
024- "
025- [7]=>
026- string(2) "\a"
027- [8]=>
028- string(3) "\cx"
029- [9]=>
030- string(4) "\ddd"
031- [10]=>
032- string(2) "\e"
033- [11]=>
034- string(4) "\xhh"
035- }
036- - Sort flag = SORT_REGULAR -
037- bool(true)
038- array(12) {
039- [0]=>
040- NULL
041- [1]=>
042- NULL
043- [2]=>
044- string(1) " "
045- [3]=>
046- string(1) "
047- "
048- [4]=>
049- string(1) " "
050- [5]=>
051- string(1) " "
052- [6]=>
053- string(1) "
054- "
055- [7]=>
056- string(2) "\a"
057- [8]=>
058- string(3) "\cx"
059- [9]=>
060- string(4) "\ddd"
061- [10]=>
062- string(2) "\e"
063- [11]=>
064- string(4) "\xhh"
065- }
066- - Sort flag = SORT_STRING -
067- bool(true)
068- array(12) {
069- [0]=>
070- NULL
071- [1]=>
072- NULL
073- [2]=>
074- string(1) " "
075- [3]=>
076- string(1) "
077- "
078- [4]=>
079- string(1) " "
080- [5]=>
081- string(1) " "
082- [6]=>
083- string(1) "
084- "
085- [7]=>
086- string(2) "\a"
087- [8]=>
088- string(3) "\cx"
089- [9]=>
090- string(4) "\ddd"
091- [10]=>
092- string(2) "\e"
093- [11]=>
094- string(4) "\xhh"
095- }
096-
097- -- Iteration 2 --
098- - With Default sort flag -
099- bool(true)
100- array(12) {
101- [0]=>
102- string(6) "BANANA"
103- [1]=>
104- string(6) "Orange"
105- [2]=>
106- string(4) "TTTT"
107- [3]=>
108- string(4) "Test"
109- [4]=>
110- string(1) "X"
111- [5]=>
112- string(5) "apple"
113- [6]=>
114- string(6) "banana"
115- [7]=>
116- string(5) "lemoN"
117- [8]=>
118- string(6) "oraNGe"
119- [9]=>
120- string(3) "ttt"
121- [10]=>
122- string(2) "ww"
123- [11]=>
124- string(1) "x"
125- }
126- - Sort flag = SORT_REGULAR -
127- bool(true)
128- array(12) {
129- [0]=>
130- string(6) "BANANA"
131- [1]=>
132- string(6) "Orange"
133- [2]=>
134- string(4) "TTTT"
135- [3]=>
136- string(4) "Test"
137- [4]=>
138- string(1) "X"
139- [5]=>
140- string(5) "apple"
141- [6]=>
142- string(6) "banana"
143- [7]=>
144- string(5) "lemoN"
145- [8]=>
146- string(6) "oraNGe"
147- [9]=>
148- string(3) "ttt"
149- [10]=>
150- string(2) "ww"
151- [11]=>
152- string(1) "x"
153- }
154- - Sort flag = SORT_STRING -
155- bool(true)
156- array(12) {
157- [0]=>
158- string(6) "BANANA"
159- [1]=>
160- string(6) "Orange"
161- [2]=>
162- string(4) "TTTT"
163- [3]=>
164- string(4) "Test"
165- [4]=>
166- string(1) "X"
167- [5]=>
168- string(5) "apple"
169- [6]=>
170- string(6) "banana"
171- [7]=>
172- string(5) "lemoN"
173- [8]=>
174- string(6) "oraNGe"
175- [9]=>
176- string(3) "ttt"
177- [10]=>
178- string(2) "ww"
179- [11]=>
180- string(1) "x"
181- }
182- Done
1 (0%)
023+ string(1) "
"
023- string(1) "
024- "
052+ string(1) "
"
053- string(1) "
054- "
081+ string(1) "
"
083- string(1) "
084- " 001063: 1329546986 0.30041700 < 1329546986 0.30041800 004962: 1329546986 0.31138100 < 1329546986 0.31138200 006508: 1329546986 0.31624500 < 1329546986 0.31624600 016765: 1329546986 0.34803600 < 1329546986 0.34803700 022004: 1329546986 0.36221300 < 1329546986 0.36221400 056229: 1329546986 0.45591200 < 1329546986 0.45591300 076092: 1329546986 0.51514700 < 1329546986 0.51514800 001+ Passed: 99993
002+ Failed: 7
001- Passed: 100000
002- Failed: 0
003+ 001063: 1329546986 0.30041700 < 1329546986 0.30041800
004+ 004962: 1329546986 0.31138100 < 1329546986 0.31138200
005+ 006508: 1329546986 0.31624500 < 1329546986 0.31624600
006+ 016765: 1329546986 0.34803600 < 1329546986 0.34803700
007+ 022004: 1329546986 0.36221300 < 1329546986 0.36221400
008+ 056229: 1329546986 0.45591200 < 1329546986 0.45591300
009+ 076092: 1329546986 0.51514700 < 1329546986 0.51514800
1 (0%)
023+ string(1) "
"
023- string(1) "
024- "
052+ string(1) "
"
053- string(1) "
054- "
081+ string(1) "
"
083- string(1) "
084- " 002030: 1334050428 0.96671300 < 1334050428 0.96671400 002174: 1334050428 0.96860000 < 1334050428 0.96860100 002333: 1334050428 0.97060900 < 1334050428 0.97061100 002465: 1334050428 0.97254600 < 1334050428 0.97254700 003562: 1334050428 0.98364500 < 1334050428 0.98364600 031860: 1334050429 0.31305500 < 1334050429 0.31305600 051519: 1334050429 0.56178300 < 1334050429 0.56178400 057297: 1334050429 0.62774200 < 1334050429 0.62774300 061315: 1334050429 0.67092200 < 1334050429 0.67092300 061704: 1334050429 0.67491400 < 1334050429 0.67491500 061911: 1334050429 0.67689700 < 1334050429 0.67689800 001+ Passed: 99904
002+ Failed: 96
001- Passed: 100000
002- Failed: 0
003+ 002030: 1334050428 0.96671300 < 1334050428 0.96671400
004+ 002174: 1334050428 0.96860000 < 1334050428 0.96860100
005+ 002333: 1334050428 0.97060900 < 1334050428 0.97061100
006+ 002465: 1334050428 0.97254600 < 1334050428 0.97254700
007+ 003562: 1334050428 0.98364500 < 1334050428 0.98364600
008+ 031860: 1334050429 0.31305500 < 1334050429 0.31305600
009+ 051519: 1334050429 0.56178300 < 1334050429 0.56178400
010+ 057297: 1334050429 0.62774200 < 1334050429 0.62774300
011+ 061315: 1334050429 0.67092200 < 1334050429 0.67092300
012+ 061704: 1334050429 0.67491400 < 1334050429 0.67491500
013+ 061911: 1334050429 0.67689700 < 1334050429 0.67689800
1 (0%)
023+ string(1) "
"
023- string(1) "
024- "
052+ string(1) "
"
053- string(1) "
054- "
081+ string(1) "
"
083- string(1) "
084- " 043777: 1330573507 0.14360200 < 1330573507 0.14360300 044529: 1330573507 0.14588400 < 1330573507 0.14588500 046976: 1330573507 0.15284400 < 1330573507 0.15284500 060629: 1330573507 0.19184100 < 1330573507 0.19184200 065219: 1330573507 0.20457300 < 1330573507 0.20457400 078791: 1330573507 0.24054500 < 1330573507 0.24054600 086411: 1330573507 0.26155800 < 1330573507 0.26155900 001+ Passed: 99993
002+ Failed: 7
001- Passed: 100000
002- Failed: 0
003+ 043777: 1330573507 0.14360200 < 1330573507 0.14360300
004+ 044529: 1330573507 0.14588400 < 1330573507 0.14588500
005+ 046976: 1330573507 0.15284400 < 1330573507 0.15284500
006+ 060629: 1330573507 0.19184100 < 1330573507 0.19184200
007+ 065219: 1330573507 0.20457300 < 1330573507 0.20457400
008+ 078791: 1330573507 0.24054500 < 1330573507 0.24054600
009+ 086411: 1330573507 0.26155800 < 1330573507 0.26155900
1 (0%)
023+ string(1) "
"
023- string(1) "
024- "
052+ string(1) "
"
053- string(1) "
054- "
081+ string(1) "
"
083- string(1) "
084- " 052562: 1328500399 0.83354000 < 1328500399 0.83354100 065334: 1328500399 0.87153000 < 1328500399 0.87153100 001+ Passed: 99998
002+ Failed: 2
001- Passed: 100000
002- Failed: 0
003+ 052562: 1328500399 0.83354000 < 1328500399 0.83354100
004+ 065334: 1328500399 0.87153000 < 1328500399 0.87153100