summaryrefslogtreecommitdiff
path: root/tests/b47243_1.phpt
blob: 9f04f302cb605f9da20761931c29e6d3560d567e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
Bug #47243 (Crash on exit with ZTS mode)
--SKIPIF--
<?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
--FILE--
<?php

require(dirname(__FILE__).'/connect.inc');

// Run Test

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

// No explicit free or close

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