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
Create post-HADVAs expect files
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
ext
/
standard
/
tests
/
array
/
array_values.php.expectf.hadva
blob
285d5a8287131a654ff64df939bc7b32f63b06ad
1
*** Testing array_values() on basic array ***
2
vec(5) {
3
int(1)
4
int(2)
5
float(2)
6
string(6) "asdasd"
7
vec(3) {
8
int(1)
9
int(2)
10
int(3)
11
}
12
}
13
14
*** Testing array_values() on various arrays ***
15
-- Iteration 0 --
16
vec(0) {
17
}
18
19
-- Iteration 1 --
20
vec(1) {
21
int(0)
22
}
23
24
-- Iteration 2 --
25
vec(1) {
26
int(-1)
27
}
28
29
-- Iteration 3 --
30
vec(1) {
31
vec(0) {
32
}
33
}
34
35
-- Iteration 4 --
36
vec(1) {
37
string(5) "Hello"
38
}
39
40
-- Iteration 5 --
41
vec(1) {
42
string(0) ""
43
}
44
45
-- Iteration 6 --
46
vec(2) {
47
string(0) ""
48
vec(0) {
49
}
50
}
51
52
-- Iteration 7 --
53
vec(3) {
54
int(1)
55
int(2)
56
int(3)
57
}
58
59
-- Iteration 8 --
60
vec(4) {
61
int(1)
62
int(2)
63
int(3)
64
vec(0) {
65
}
66
}
67
68
-- Iteration 9 --
69
vec(4) {
70
int(1)
71
int(2)
72
int(3)
73
vec(2) {
74
int(4)
75
int(6)
76
}
77
}
78
79
-- Iteration 10 --
80
vec(3) {
81
int(1)
82
int(2)
83
int(3)
84
}
85
86
-- Iteration 11 --
87
vec(3) {
88
int(0)
89
int(1)
90
int(2)
91
}
92
93
-- Iteration 12 --
94
vec(11) {
95
bool(true)
96
bool(false)
97
NULL
98
bool(true)
99
bool(false)
100
NULL
101
string(4) "TRUE"
102
string(5) "FALSE"
103
string(4) "NULL"
104
string(2) "
\0
0"
105
string(1) "
\0
"
106
}
107
108
-- Iteration 13 --
109
vec(3) {
110
int(1)
111
int(2)
112
int(3)
113
}
114
115
-- Iteration 14 --
116
vec(3) {
117
string(0) ""
118
int(-6)
119
float(-0.5)
120
}
121
122
-- Iteration 15 --
123
vec(4) {
124
vec(0) {
125
}
126
vec(1) {
127
int(0)
128
}
129
vec(1) {
130
int(1)
131
}
132
string(0) ""
133
}
134
Done