repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
import zend standard tests
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
ext-standard-array
/
natcasesort_variation11.php.expectf
blob
72d4c942891c8821b9b951793cafe3216f506ca2
1
*** Testing natcasesort() : usage variations ***
2
3
-- Iteration 1 --
4
bool(true)
5
array(4) {
6
[-2345]=>
7
string(8) "negative"
8
[1]=>
9
string(3) "one"
10
[12345]=>
11
string(8) "positive"
12
[0]=>
13
string(4) "zero"
14
}
15
16
-- Iteration 2 --
17
bool(true)
18
array(3) {
19
[0]=>
20
string(4) "half"
21
[-10]=>
22
string(8) "negative"
23
[10]=>
24
string(8) "positive"
25
}
26
27
-- Iteration 3 --
28
bool(true)
29
array(2) {
30
[12345678]=>
31
string(5) "large"
32
[0]=>
33
string(5) "small"
34
}
35
36
-- Iteration 4 --
37
bool(true)
38
array(1) {
39
[""]=>
40
string(6) "null 1"
41
}
42
43
-- Iteration 5 --
44
bool(true)
45
array(1) {
46
[""]=>
47
string(6) "null 2"
48
}
49
50
-- Iteration 6 --
51
bool(true)
52
array(2) {
53
[0]=>
54
string(6) "lowerf"
55
[1]=>
56
string(6) "lowert"
57
}
58
59
-- Iteration 7 --
60
bool(true)
61
array(2) {
62
[0]=>
63
string(6) "upperf"
64
[1]=>
65
string(6) "uppert"
66
}
67
68
-- Iteration 8 --
69
bool(true)
70
array(1) {
71
[""]=>
72
string(6) "emptyd"
73
}
74
75
-- Iteration 9 --
76
bool(true)
77
array(1) {
78
[""]=>
79
string(6) "emptys"
80
}
81
82
-- Iteration 10 --
83
bool(true)
84
array(3) {
85
["stringd"]=>
86
string(7) "stringd"
87
["hello world"]=>
88
string(7) "stringh"
89
["strings"]=>
90
string(7) "strings"
91
}
92
93
-- Iteration 11 --
94
bool(true)
95
array(1) {
96
[""]=>
97
string(9) "undefined"
98
}
99
100
-- Iteration 12 --
101
bool(true)
102
array(1) {
103
[""]=>
104
string(5) "unset"
105
}
106
107
-- Iteration 13 --
108
bool(true)
109
array(3) {
110
["foo"]=>
111
string(3) "bar"
112
["baz"]=>
113
string(3) "bar"
114
["hello"]=>
115
string(5) "world"
116
}
117
Done