Skip to content

Commit 33e02b0

Browse files
committed
Add test for Issue #89
1 parent 36c3d2c commit 33e02b0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/issue89_001.phpt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--TEST--
2+
Issue #89: Passing result from ibase_prepare() to ibase_fetch_*() causes segfault.
3+
--SKIPIF--
4+
<?php
5+
include("skipif.inc");
6+
?>
7+
--FILE--
8+
<?php
9+
10+
require("interbase.inc");
11+
12+
(function() {
13+
$res = ibase_prepare('SELECT * FROM TEST1');
14+
var_dump(ibase_fetch_assoc($res));
15+
})();
16+
17+
?>
18+
--EXPECT--
19+
bool(false)

0 commit comments

Comments
 (0)