summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/debug.phpt
blob: cc771d531958e76f11eccbe43fc6aea49569abbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--TEST--
oci_internal_debug()
--SKIPIF--
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
--FILE--
<?php

require dirname(__FILE__)."/connect.inc";

oci_internal_debug(true);

if (!empty($dbase)) {
	oci_connect($user, $password, $dbase);
}
else {
	oci_connect($user, $password);
}
	
echo "Done\n";

?>
--EXPECTF--
OCI8 DEBUG: OCINlsEnvironmentVariableGet at (%s:%d) 
Done
OCI8 DEBUG: OCISessionEnd at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d) 
OCI8 DEBUG: OCIServerDetach at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d) 
OCI8 DEBUG: OCIHandleFree at (%s:%d)