xref: /PHP-5.3/ext/oci8/tests/debug.phpt (revision 2bf58d8c)
1--TEST--
2oci_internal_debug()
3--SKIPIF--
4<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5--FILE--
6<?php
7
8require(dirname(__FILE__)."/details.inc");
9
10oci_internal_debug(true);
11
12if (!empty($dbase)) {
13	oci_connect($user, $password, $dbase);
14}
15else {
16	oci_connect($user, $password);
17}
18
19echo "Done\n";
20
21oci_internal_debug(false);
22
23?>
24--EXPECTREGEX--
25^OCI8 DEBUG: .*Done$
26