From: Antony Dovgal Date: Tue, 20 Dec 2005 09:52:05 +0000 (+0000) Subject: MFB: add test for #35740 X-Git-Tag: RELEASE_1_0_4~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f5f3d8408405fdd601bbb264895a845a250fa8d;p=php MFB: add test for #35740 --- diff --git a/ext/standard/tests/file/bug35740.phpt b/ext/standard/tests/file/bug35740.phpt new file mode 100644 index 0000000000..78df1843c9 --- /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