📜  dir php代码示例中有多少个文件

📅  最后修改于: 2022-03-11 14:53:46.752000             🧑  作者: Mango

代码示例1
$fi = new FilesystemIterator(__DIR__, FilesystemIterator::SKIP_DOTS);
printf("There were %d Files", iterator_count($fi));