1--TEST--
2DRCP: oci8.connection_class with ini_get() and ini_set()
3--SKIPIF--
4<?php
5if (!extension_loaded('oci8')) die("skip no oci8 extension");
6preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
7if (!(isset($matches[0]) && $matches[0] >= 11)) {
8    die("skip works only with Oracle 11g or greater version of Oracle client libraries");
9}
10?>
11--INI--
12oci8.connection_class=test
13--FILE--
14<?php
15
16echo "Setting a new connection class now\n";
17ini_set('oci8.connection_class',"New cc");
18
19// Get the New connection class name .Should return New CC
20
21$new_cc = ini_get('oci8.connection_class');
22echo "The New oci8.connection_class is $new_cc \n";
23
24echo "Done\n";
25
26?>
27--EXPECTF--
28Setting a new connection class now
29The New oci8.connection_class is New cc
30Done
31