summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug41693.phpt
blob: 6c7ff5bf4ba1856ce5d50141dd8544c2b4ea33f5 (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