mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
27 lines
488 B
PHP
27 lines
488 B
PHP
--TEST--
|
|
Bug #47243 (Crash on exit with ZTS mode)
|
|
--SKIPIF--
|
|
<?php
|
|
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
|
|
require(dirname(__FILE__).'/skipif.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
require(dirname(__FILE__).'/connect.inc');
|
|
|
|
// Run Test
|
|
|
|
$s = oci_parse($c, "select cursor(select dummy from dual) from dual");
|
|
oci_execute($s);
|
|
oci_fetch_all($s, $r);
|
|
|
|
oci_free_statement($s);
|
|
// no explicit close
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
===DONE===
|