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
Revert "make hphpc able to use ini files"
[hiphop-php.git]
/
hphp
/
test
/
zend
/
bad
/
ext
/
standard
/
tests
/
array
/
array_change_key_case_variation8.php.expectf
blob
279bbd134133c5d0cbbdf4a6101ce498758a5f24
1
*** Testing array_change_key_case() : usage variations ***
2
3
-- $case = default --
4
array(10) {
5
[""]=>
6
int(2)
7
["\a"]=>
8
int(3)
9
["\cx"]=>
10
int(4)
11
["
\e
"]=>
12
int(5)
13
["
\f
"]=>
14
int(6)
15
["
16
"]=>
17
int(7)
18
[" "]=>
19
int(8)
20
["\xhh"]=>
21
int(9)
22
["\ddd"]=>
23
int(10)
24
["
\v
"]=>
25
int(11)
26
}
27
-- $case = upper --
28
array(10) {
29
[""]=>
30
int(2)
31
["\A"]=>
32
int(3)
33
["\CX"]=>
34
int(4)
35
["
\e
"]=>
36
int(5)
37
["
\f
"]=>
38
int(6)
39
["
40
"]=>
41
int(7)
42
[" "]=>
43
int(8)
44
["\XHH"]=>
45
int(9)
46
["\DDD"]=>
47
int(10)
48
["
\v
"]=>
49
int(11)
50
}
51
52
-- $case = default --
53
array(9) {
54
["lemon"]=>
55
int(1)
56
["orange"]=>
57
int(11)
58
["banana"]=>
59
int(12)
60
["apple"]=>
61
int(4)
62
["test"]=>
63
int(5)
64
["tttt"]=>
65
int(6)
66
["ttt"]=>
67
int(7)
68
["ww"]=>
69
int(8)
70
["x"]=>
71
int(10)
72
}
73
-- $case = upper --
74
array(9) {
75
["LEMON"]=>
76
int(1)
77
["ORANGE"]=>
78
int(11)
79
["BANANA"]=>
80
int(12)
81
["APPLE"]=>
82
int(4)
83
["TEST"]=>
84
int(5)
85
["TTTT"]=>
86
int(6)
87
["TTT"]=>
88
int(7)
89
["WW"]=>
90
int(8)
91
["X"]=>
92
int(10)
93
}
94
Done