getDepth()); if ($file->isDir()) { echo DIRECTORY_SEPARATOR; } echo $file->getBasename(); if ($file->isFile()) { echo " (" .$file->getSize(). " bytes)"; } elseif ($file->isLink()) { echo " (symlink)"; } echo''; echo PHP_EOL;}?>
本文共 300 字,大约阅读时间需要 1 分钟。
getDepth()); if ($file->isDir()) { echo DIRECTORY_SEPARATOR; } echo $file->getBasename(); if ($file->isFile()) { echo " (" .$file->getSize(). " bytes)"; } elseif ($file->isLink()) { echo " (symlink)"; } echo''; echo PHP_EOL;}?>
转载于:https://www.cnblogs.com/zuoxiaobing/p/3674436.html