php-src/ext/oci8/tests/testping.phpt

26 lines
434 B
Plaintext
Raw Normal View History

2008-04-07 21:55:53 +00:00
--TEST--
Exercise OCIPing functionality on reconnect (code coverage test)
--SKIPIF--
<?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
--INI--
oci8.ping_interval=0
--FILE--
<?php
require(dirname(__FILE__).'/details.inc');
2008-04-07 21:55:53 +00:00
for ($i = 0; $i < 2; $i++) {
if (!empty($dbase)) {
$c = oci_pconnect($user,$password,$dbase);
}
else {
$c = oci_pconnect($user,$password);
}
}
echo "Done\n";
?>
--EXPECTF--
Done