1--TEST-- 2oci8.old_oci_close_semantics On 3--EXTENSIONS-- 4oci8 5--SKIPIF-- 6<?php 7require_once 'skipifconnectfailure.inc'; 8?> 9--INI-- 10oci8.old_oci_close_semantics=1 11--FILE-- 12<?php 13 14require __DIR__."/connect.inc"; 15 16var_dump($c); 17var_dump(oci_close($c)); 18var_dump(oci_parse($c, "select 1 from dual")); 19 20echo "Done\n"; 21 22?> 23--EXPECTF-- 24Deprecated: Directive oci8.old_oci_close_semantics is deprecated%s 25resource(%d) of type (oci8 connection) 26NULL 27resource(%d) of type (oci8 statement) 28Done 29