summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/b47243_2.phpt
blob: faf61e6c791c3ba3bf2217b5e9ca44411837d0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--TEST--
Bug #47243 (Crash on exit with ZTS mode)
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
require(__DIR__.'/skipif.inc');
?>
--FILE--
<?php

require(__DIR__.'/connect.inc');

// Run Test

$s = oci_parse($c, "select cursor(select dummy from dual) from dual");
oci_execute($s);
oci_fetch_all($s, $r);

oci_free_statement($s);
// no explicit close

?>
===DONE===
<?php exit(0); ?>
--EXPECT--
===DONE===