From 84326a9b72fe57e672d73cae7623026192456fb7 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 20 Dec 2005 09:51:53 +0000 Subject: [PATCH] add test for #35740 --- ext/standard/tests/file/bug35740.phpt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ext/standard/tests/file/bug35740.phpt diff --git a/ext/standard/tests/file/bug35740.phpt b/ext/standard/tests/file/bug35740.phpt new file mode 100644 index 00000000000..78df1843c93 --- /dev/null +++ b/ext/standard/tests/file/bug35740.phpt @@ -0,0 +1,14 @@ +--TEST-- +bug #35740 (memory leak when including a directory) +--FILE-- + +--EXPECTF-- +Warning: include(%s): failed to open stream: %s in %s on line %d + +Warning: include(): Failed opening '%s' for inclusion (include_path='%s') in %s on line %d +Done