From 28b13f50e665e305e7da8ec73681365b1567c96d Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 4 Apr 2005 18:06:16 +0000 Subject: [PATCH] Added testcase for bug #30362 --- ext/standard/tests/file/bug30362.phpt | 26 ++++++++++++++++++++++++++ ext/standard/tests/file/bug30362.txt | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 ext/standard/tests/file/bug30362.phpt create mode 100644 ext/standard/tests/file/bug30362.txt diff --git a/ext/standard/tests/file/bug30362.phpt b/ext/standard/tests/file/bug30362.phpt new file mode 100644 index 0000000000..1c2b4be979 --- /dev/null +++ b/ext/standard/tests/file/bug30362.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #30362 (stream_get_line() not working as documented) +--FILE-- + +--EXPECT-- +111 +111111111 +111111111 +111111111 +111111111 +111111111 +111111111 +111111111 +111111111 +111111111 diff --git a/ext/standard/tests/file/bug30362.txt b/ext/standard/tests/file/bug30362.txt new file mode 100644 index 0000000000..cabd6b910d --- /dev/null +++ b/ext/standard/tests/file/bug30362.txt @@ -0,0 +1,2 @@ +111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111 + -- 2.50.1