summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug35740.phpt
blob: 78df1843c93018615ddc1b1c4d8c6f9ff6624ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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