Annotation of embedaddon/php/ext/oci8/tests/drcp_connection_class.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DRCP: oci8.connection_class with ini_get() and ini_set()
3: --SKIPIF--
4: <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5: --INI--
6: oci8.connection_class=test
7: --FILE--
8: <?php
9:
10: echo "Setting a new connection class now\n";
11: ini_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');
16: echo "The New oci8.connection_class is $new_cc \n";
17:
18: echo "Done\n";
19:
20: ?>
21: --EXPECTF--
22: Setting a new connection class now
23: The New oci8.connection_class is New cc
24: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>