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