From: Christopher Jones Date: Mon, 9 Mar 2009 21:19:18 +0000 (+0000) Subject: New test for oci_fetch_all X-Git-Tag: php-5.4.0alpha1~191^2~4175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9bca66417f3ca4fd469fd759f45a202ad7d5740;p=php New test for oci_fetch_all --- diff --git a/ext/oci8/tests/bug47189.phpt b/ext/oci8/tests/bug47189.phpt new file mode 100644 index 0000000000..b8623ade06 --- /dev/null +++ b/ext/oci8/tests/bug47189.phpt @@ -0,0 +1,48 @@ +--TEST-- +Bug #47189 (Multiple oci_fetch_all calls) +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECTF-- +array(1) { + [0]=> + array(1) { + [u"DUMMY"]=> + unicode(1) "X" + } +} +array(0) { +} +array(1) { + [0]=> + array(1) { + [u"DUMMY"]=> + unicode(1) "X" + } +} + +Warning: oci_fetch_all(): ORA-01002: %s in %s on line %d +array(0) { +} +===DONE===