1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Files
archived-php-src/ext/standard/tests/file/bug35740.phpt
T
2018-10-14 12:07:20 -03:00

15 lines
299 B
PHP

--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