xref: /PHP-5.3/ext/standard/tests/file/bug41693.phpt (revision bab1ce14)
1--TEST--
2Bug #41693 (scandir() allows empty directory names)
3--FILE--
4<?php
5
6var_dump(scandir(''));
7
8echo "Done\n";
9?>
10--EXPECTF--
11Warning: scandir(): Directory name cannot be empty in %s on line %d
12bool(false)
13Done
14