xref: /PHP-8.4/ext/standard/tests/file/bug35740.phpt (revision d1764ca3)
1--TEST--
2Bug #35740 (memory leak when including a directory)
3--FILE--
4<?php
5
6include (__DIR__);
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