We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7f580 commit 6ec033eCopy full SHA for 6ec033e
ext/sqlite3/tests/sqlite3_fetch_all.phpt
@@ -18,6 +18,10 @@ $rowfetch = [];
18
while (($row = $stmt->fetchArray())) $rowfetch[] = $row;
19
var_dump($rowfetch);
20
var_dump($rowall == $rowfetch);
21
+$stmt->reset();
22
+var_dump($stmt->fetchAll(SQLITE3_NUM));
23
24
+var_dump($stmt->fetchAll(SQLITE3_ASSOC));
25
26
?>
27
--EXPECT--
@@ -70,3 +74,35 @@ array(2) {
70
74
}
71
75
72
76
bool(true)
77
+array(2) {
78
+ [0]=>
79
+ array(2) {
80
81
+ int(1)
82
+ [1]=>
83
84
+ }
85
86
87
88
+ int(2)
89
90
91
92
+}
93
94
95
96
+ ["id"]=>
97
98
+ ["num"]=>
99
100
101
102
103
104
105
106
107
108
0 commit comments