From: Antony Dovgal Date: Sat, 22 Apr 2006 23:46:42 +0000 (+0000) Subject: add test for #37158 X-Git-Tag: php-5.1.3~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=658b22ad6e9f9e8d706e7c962b86081cfacadb8e;p=php add test for #37158 --- diff --git a/ext/standard/tests/file/bug37158.phpt b/ext/standard/tests/file/bug37158.phpt new file mode 100644 index 0000000000..d071569e20 --- /dev/null +++ b/ext/standard/tests/file/bug37158.phpt @@ -0,0 +1,43 @@ +--TEST-- +Bug #37158 (if userspace stream is present, fread() reads in 8192 max, otherwise it works) +--FILE-- + +--EXPECT-- +string(26) "size of contents 1 = 20000" +string(26) "size of contents 2 = 40960" +Done +--UEXPECT-- +unicode(26) "size of contents 1 = 20000" +unicode(26) "size of contents 2 = 40960" +Done