©
本文檔使用 php中文網手册 發布
(PHP 5 >= 5.3.0)
遍历一个文件系统行为类似于 glob() .
$path
[, int $flags
= FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO
] )$path
[, int $flags
= FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS
] )$flags
] )