xref: /PHP-8.0/ext/standard/tests/file/bug78296.phpt (revision bb735c9e)
1--TEST--
2Bug #78296 (is_file fails to detect file)
3--FILE--
4<?php
5$dir = str_pad(__DIR__ . '/bug78296', 250, '_');
6var_dump(mkdir($dir));
7var_dump(is_dir($dir));
8?>
9--EXPECT--
10bool(true)
11bool(true)
12--CLEAN--
13<?php
14$dir = str_pad(__DIR__ . '/bug78296', 250, '_');
15rmdir($dir);
16?>
17