diff options
| author | Antony Dovgal <tony2001@php.net> | 2005-12-20 09:51:53 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2005-12-20 09:51:53 +0000 |
| commit | 84326a9b72fe57e672d73cae7623026192456fb7 (patch) | |
| tree | 4c3d097d20267869669f83e70ed3eb7da0f1302d /ext | |
| parent | aec3b4e73c81684ef4d3f84bbd84dde8e5926bd9 (diff) | |
| download | php-git-84326a9b72fe57e672d73cae7623026192456fb7.tar.gz | |
add test for #35740
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/tests/file/bug35740.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
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-- +<?php + +include (dirname(__FILE__)); + +echo "Done\n"; +?> +--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 |
