📅  最后修改于: 2022-03-11 14:53:47.691000             🧑  作者: Mango
if ($handle = opendir('.')) {
while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != "..") {
echo "$entry\n";
}
}
closedir($handle);
}