xref: /PHP-8.2/ext/oci8/tests/b47243_1.phpt (revision b5a14e6c)
1--TEST--
2Bug #47243 (Crash on exit with ZTS mode)
3--EXTENSIONS--
4oci8
5--SKIPIF--
6<?php
7$target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
8require(__DIR__.'/skipif.inc');
9?>
10--FILE--
11<?php
12
13require(__DIR__.'/connect.inc');
14
15// Run Test
16
17$s = oci_parse($c, "select cursor(select dummy from dual) from dual");
18oci_execute($s);
19oci_fetch_all($s, $r);
20
21// No explicit free or close
22
23?>
24===DONE===
25--EXPECT--
26===DONE===
27