.和..是虚拟系统文件,代表当前目录和上级目录下面的程序以列表输出文件夹下文件,并且不包括.与..if ($handle = opendir('/PATH/TO/DIR')) { while (false !== ($file = readdir($handle))) { echo "