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 21oci_free_statement($s); 22// no explicit close 23 24?> 25===DONE=== 26--EXPECT-- 27===DONE=== 28