Answers for "how many files in dir php"

PHP
2

how many files in dir php

$fi = new FilesystemIterator(__DIR__, FilesystemIterator::SKIP_DOTS);
printf("There were %d Files", iterator_count($fi));
Posted by: Guest on May-07-2020

Browse Popular Code Answers by Language