1--TEST--
2DRCP: oci8.connection_class with ini_get() and ini_set()
3--SKIPIF--
4<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5--INI--
6oci8.connection_class=test
7--FILE--
8<?php
9
10echo "Setting a new connection class now\n";
11ini_set('oci8.connection_class',"New cc");
12
13// Get the New connection class name .Should return New CC
14
15$new_cc = ini_get('oci8.connection_class');
16echo "The New oci8.connection_class is $new_cc \n";
17
18echo "Done\n";
19
20?>
21--EXPECTF--
22Setting a new connection class now
23The New oci8.connection_class is New cc
24Done
25