xref: /PHP-5.5/ext/standard/tests/file/bug35740.phpt (revision 9ce985bb)
1--TEST--
2Bug #35740 (memory leak when including a directory)
3--FILE--
4<?php
5
6include (dirname(__FILE__));
7
8echo "Done\n";
9?>
10--EXPECTF--
11Warning: include(%s): failed to open stream: %s in %s on line %d
12
13Warning: include(): Failed opening '%s' for inclusion (include_path='%s') in %s on line %d
14Done
15