Annotation of embedaddon/php/ext/oci8/tests/persistent.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: reusing persistent connections
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
! 5: --FILE--
! 6: <?php
! 7:
! 8: require dirname(__FILE__)."/connect.inc";
! 9:
! 10: var_dump(oci_pconnect($user, $password, $dbase));
! 11: var_dump(oci_pconnect($user, $password, $dbase));
! 12: var_dump(oci_pconnect($user, $password, $dbase));
! 13: var_dump(oci_connect($user, $password, $dbase));
! 14: var_dump(oci_connect($user, $password, $dbase));
! 15: var_dump(oci_connect($user, $password, $dbase));
! 16:
! 17: echo "Done\n";
! 18: ?>
! 19: --EXPECTF--
! 20: resource(%d) of type (oci8 persistent connection)
! 21: resource(%d) of type (oci8 persistent connection)
! 22: resource(%d) of type (oci8 persistent connection)
! 23: resource(%d) of type (oci8 connection)
! 24: resource(%d) of type (oci8 connection)
! 25: resource(%d) of type (oci8 connection)
! 26: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>