1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00
Files
archived-php-src/ext/standard/tests/file/bug41693.phpt
2007-06-14 23:28:06 +00:00

14 lines
218 B
PHP

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