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