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