From 2c87f890bc1ff542dcceaf3aef55c35cdfd4cb2f Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Tue, 20 Jun 2006 19:30:19 +0000 Subject: [PATCH] Test for bug #37864 (file_get_contents() leaks on empty file) --- ext/standard/tests/file/bug37864.phpt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ext/standard/tests/file/bug37864.phpt diff --git a/ext/standard/tests/file/bug37864.phpt b/ext/standard/tests/file/bug37864.phpt new file mode 100644 index 0000000000..be67352344 --- /dev/null +++ b/ext/standard/tests/file/bug37864.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #37864 (file_get_contents() leaks on empty file) +--FILE-- + +--EXPECT-- +done. -- 2.50.1