--TEST-- DRCP: oci_connect() --SKIPIF-- true, 'timesten' => false); // test runs on these DBs (Calling PL/SQL from SQL is not supported in TimesTen) require(dirname(__FILE__).'/skipif.inc'); ?> --INI-- oci8.connection_class=test oci8.old_oci_close_semantics=0 --FILE-- --EXPECTF-- Test 1a resource(%d) of type (oci8 connection) Test 1b This is with OCI_CONNECT..... The value of the package variable is 0 Package variable value set to 1000 Connection conn1 closed.... Test 2 resource(%d) of type (oci8 connection) Select with connection 2 The value of the package variable is 0 Package variable value set to 100 Test 3 resource(%d) of type (oci8 connection) Select with connection 3 The value of the package variable is 100 Test 4 This is with oci_pconnect()..... resource(%d) of type (oci8 persistent connection) Package variable value set to 1000 Connection pconn1 closed.... Test 5 resource(%d) of type (oci8 persistent connection) Select with persistent connection 2 The value of the package variable is 1000 Done