php-src/ext/oci8/tests/old_oci_close.phpt
Antony Dovgal 31c35e5cad add 4 new tests
remove ENV tag from the old ones
2005-12-06 19:28:25 +00:00

24 lines
426 B
PHP

--TEST--
oci8.old_oci_close_semantics On
--SKIPIF--
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
--INI--
oci8.old_oci_close_semantics=1
--FILE--
<?php
require dirname(__FILE__)."/connect.inc";
var_dump($c);
var_dump(oci_close($c));
var_dump(oci_parse($c, "select 1 from dual"));
echo "Done\n";
?>
--EXPECTF--
resource(%d) of type (oci8 connection)
NULL
resource(%d) of type (oci8 statement)
Done