xref: /PHP-8.2/ext/oci8/tests/testping.phpt (revision 74859783)
1--TEST--
2Exercise OCIPing functionality on reconnect (code coverage test)
3--EXTENSIONS--
4oci8
5--INI--
6oci8.ping_interval=0
7--FILE--
8<?php
9
10require(__DIR__.'/details.inc');
11
12for ($i = 0; $i < 2; $i++) {
13    if (!empty($dbase)) {
14        $c = oci_pconnect($user,$password,$dbase);
15    }
16    else {
17        $c = oci_pconnect($user,$password);
18    }
19}
20
21echo "Done\n";
22
23?>
24--EXPECT--
25Done
26