Annotation of embedaddon/php/ext/oci8/tests/debug.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: oci_internal_debug()
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
! 5: --FILE--
! 6: <?php
! 7:
! 8: require(dirname(__FILE__)."/details.inc");
! 9:
! 10: oci_internal_debug(true);
! 11:
! 12: if (!empty($dbase)) {
! 13: oci_connect($user, $password, $dbase);
! 14: }
! 15: else {
! 16: oci_connect($user, $password);
! 17: }
! 18:
! 19: echo "Done\n";
! 20:
! 21: oci_internal_debug(false);
! 22:
! 23: ?>
! 24: --EXPECTREGEX--
! 25: ^OCI8 DEBUG: .*Done$
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>