Answers for "get the number of files in a directory directoryiterator in php"

PHP
2

php count number of files in directory

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

Code answers related to "get the number of files in a directory directoryiterator in php"

Browse Popular Code Answers by Language