blob: ea074fa4fdddbe93b3600f5e0e202a4ae427fb05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Bug #41693 (scandir() allows empty directory names)
--FILE--
<?php
var_dump(scandir(''));
echo "Done\n";
?>
--EXPECTF--
Warning: scandir(): Directory name cannot be empty in %s on line %d
bool(false)
Done
|