<?php
$d = dir('css');
echo "Handle: " . $d->handle . "<br>";
echo "Path: " . $d->path . "<br>";
while (($file = $d->read()) !== false){
echo "filename: " . $file . "<br>";
}
$d->close();
?>
结果:
Handle: Resource id #4
Path: css
filename: .
filename: ..
filename: css
filename: img
filename: index.html
filename: js
filename: lightbox
问题:
.
结果,是什么..
意思?