Annotation of embedaddon/php/ext/oci8/tests/testping.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Exercise OCIPing functionality on reconnect (code coverage test)
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
! 5: --INI--
! 6: oci8.ping_interval=0
! 7: --FILE--
! 8: <?php
! 9:
! 10: require(dirname(__FILE__).'/details.inc');
! 11:
! 12: for ($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:
! 21: echo "Done\n";
! 22:
! 23: ?>
! 24: --EXPECTF--
! 25: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>