Skip to content

Commit 9627568

Browse files
committed
I meant ibase_fetch_assoc()
1 parent 7c2e12c commit 9627568

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/functions.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function array2sql_parts($data) {
9090
}
9191

9292
function dump_rows($q) {
93-
while($row = ibase_fetch_row($q)){
93+
while($row = ibase_fetch_assoc($q)){
9494
var_dump($row);
9595
}
9696
}

tests/issue77_001.phpt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ test77();
3535
?>
3636
--EXPECT--
3737
array(2) {
38-
[0]=>
38+
["TTYPE"]=>
3939
string(1) "1"
40-
[1]=>
40+
["F8"]=>
4141
NULL
4242
}
4343
array(2) {
44-
[0]=>
44+
["TTYPE"]=>
4545
string(1) "1"
46-
[1]=>
46+
["F8"]=>
4747
NULL
4848
}
4949
array(2) {
50-
[0]=>
50+
["TTYPE"]=>
5151
string(1) "2"
52-
[1]=>
52+
["F8"]=>
5353
NULL
5454
}

0 commit comments

Comments
 (0)