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