2005-12-01 13:39:48 +00:00
|
|
|
--TEST--
|
|
|
|
oci_internal_debug()
|
|
|
|
--SKIPIF--
|
2008-06-19 19:56:11 +00:00
|
|
|
<?php
|
|
|
|
if (!extension_loaded('oci8')) die("skip no oci8 extension");
|
|
|
|
ob_start();
|
|
|
|
phpinfo(INFO_MODULES);
|
|
|
|
$phpinfo = ob_get_clean();
|
|
|
|
$iv = preg_match('/Oracle .*Version => 11/', $phpinfo);
|
|
|
|
if ($iv !== 1) {
|
|
|
|
die ("skip expected output only valid when using Oracle 11g client libraries");
|
|
|
|
}
|
|
|
|
?>
|
2005-12-01 13:39:48 +00:00
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
|
2008-06-19 19:56:11 +00:00
|
|
|
require(dirname(__FILE__)."/details.inc");
|
2005-12-01 13:39:48 +00:00
|
|
|
|
|
|
|
oci_internal_debug(true);
|
|
|
|
|
|
|
|
if (!empty($dbase)) {
|
|
|
|
oci_connect($user, $password, $dbase);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
oci_connect($user, $password);
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "Done\n";
|
|
|
|
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
2006-03-28 09:12:45 +00:00
|
|
|
OCI8 DEBUG: OCINlsEnvironmentVariableGet at (%s:%d)
|
2008-06-19 19:56:11 +00:00
|
|
|
OCI8 DEBUG L1: Got NO cached connection at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIEnvNlsCreate at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIHandleAlloc at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIHandleAlloc at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCISessionPoolCreate at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrSet at (%s:%d)
|
|
|
|
OCI8 DEBUG L1: create_spool: (%s:%d)
|
|
|
|
OCI8 DEBUG L1: using shared pool: (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIHandleAlloc at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIHandleAlloc at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrSet at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrSet at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrGet at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrGet at (%s:%d)
|
|
|
|
OCI8 DEBUG L1: (%s:%d)
|
|
|
|
OCI8 DEBUG: OCISessionGet at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrGet at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrGet at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIContextGetValue at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIContextGetValue at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIMemoryAlloc at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIContextSetValue at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIAttrSet at (%s:%d)
|
|
|
|
OCI8 DEBUG L1: New Non-Persistent Connection address: (%s) at (%s:%d)
|
|
|
|
OCI8 DEBUG L1: num_persistent=(%s:%d)
|
2008-01-31 01:33:30 +00:00
|
|
|
OCI8 DEBUG: OCISessionRelease at (%s:%d)
|
2006-03-28 09:12:45 +00:00
|
|
|
OCI8 DEBUG: OCIHandleFree at (%s:%d)
|
|
|
|
OCI8 DEBUG: OCIHandleFree at (%s:%d)
|
2008-06-19 19:56:11 +00:00
|
|
|
Done
|