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
/
array_chunk_basic1.php.expectf
blob
a25eebd7d0017b46b18baf4e9b6b87bc660f7bb2
1
*** Testing array_chunk() : basic functionality ***
2
3
-- Iteration 1 --
4
array(3) {
5
[0]=>
6
array(2) {
7
[0]=>
8
int(1)
9
[1]=>
10
int(2)
11
}
12
[1]=>
13
array(2) {
14
[0]=>
15
int(3)
16
[1]=>
17
int(4)
18
}
19
[2]=>
20
array(1) {
21
[0]=>
22
int(5)
23
}
24
}
25
26
-- Iteration 2 --
27
array(2) {
28
[0]=>
29
array(2) {
30
[0]=>
31
string(6) "value1"
32
[1]=>
33
string(6) "value2"
34
}
35
[1]=>
36
array(1) {
37
[0]=>
38
string(6) "value3"
39
}
40
}
41
42
-- Iteration 3 --
43
array(2) {
44
[0]=>
45
array(2) {
46
[0]=>
47
int(1)
48
[1]=>
49
int(2)
50
}
51
[1]=>
52
array(1) {
53
[0]=>
54
int(3)
55
}
56
}
57
58
-- Iteration 4 --
59
array(2) {
60
[0]=>
61
array(2) {
62
[0]=>
63
string(3) "one"
64
[1]=>
65
string(3) "two"
66
}
67
[1]=>
68
array(1) {
69
[0]=>
70
string(5) "three"
71
}
72
}
73
74
-- Iteration 5 --
75
array(3) {
76
[0]=>
77
array(2) {
78
[0]=>
79
string(3) "one"
80
[1]=>
81
string(3) "two"
82
}
83
[1]=>
84
array(2) {
85
[0]=>
86
string(5) "three"
87
[1]=>
88
int(4)
89
}
90
[2]=>
91
array(1) {
92
[0]=>
93
int(5)
94
}
95
}
96
Done