uawdijnntqw1x1x1
IP : 216.73.216.136
Hostname : dhandapanilive
Kernel : Linux dhandapanilive 5.15.0-139-generic #149~20.04.1-Ubuntu SMP Wed Apr 16 08:29:56 UTC 2025 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
html
/
oci8-3.0.1
/
tests
/
drcp_conn_close2.phpt
/
/
--TEST-- DRCP: oci_connect() with oci_close() and oci8.old_oci_close_semantics OFF --SKIPIF-- <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?> --INI-- oci8.old_oci_close_semantics=0 oci8.connection_class=test --FILE-- <?php require __DIR__."/details.inc"; // Test will open a connection // Close the connection // Open another connection // With oci_close() the connection is released to the pool and hence the // the second connection will be different // OCI_CONNECT echo "This is with a OCI_CONNECT\n"; var_dump($conn1 = oci_connect($user,$password,$dbase)); $rn1 = (int)$conn1; oci_close($conn1); // Open another connection var_dump($conn2 = oci_connect($user,$password,$dbase)); $rn2 = (int)$conn2; oci_close($conn2); // Compare the resource numbers if ($rn1 === $rn2) echo "Both connections share a resource : NOT OK\n"; else echo "Both connections are different : OK\n"; echo "Done\n"; ?> --EXPECTF-- This is with a OCI_CONNECT resource(%d) of type (oci8 connection) resource(%d) of type (oci8 connection) Both connections are different : OK Done
/var/www/html/oci8-3.0.1/tests/drcp_conn_close2.phpt