Annotation of embedaddon/php/ext/oci8/tests/connect.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: oci_connect()
! 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: if (!empty($dbase)) {
! 11: var_dump(oci_connect($user, $password, $dbase));
! 12: }
! 13: else {
! 14: var_dump(oci_connect($user, $password));
! 15: }
! 16:
! 17: echo "Done\n";
! 18:
! 19: ?>
! 20: --EXPECTF--
! 21: resource(%d) of type (oci8 connection)
! 22: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>