1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Files
archived-php-src/ext/oci8/tests/testping.phpt
T
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

26 lines
384 B
PHP

--TEST--
Exercise OCIPing functionality on reconnect (code coverage test)
--EXTENSIONS--
oci8
--INI--
oci8.ping_interval=0
--FILE--
<?php
require(__DIR__.'/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";
?>
--EXPECT--
Done