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 22// With explicit free and close 23oci_free_statement($s); 24oci_close($c); 25 26?> 27===DONE=== 28--EXPECT-- 29===DONE=== 30