summaryrefslogtreecommitdiff
path: root/tests/testping.phpt
blob: a0d65a30c3575ebf3dcfb107ddf45fcdc969a04f (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
--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');

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