Answers for "which of the following is used to find all PHP files under a certain directory?"

PHP
4

php get all php files in a directory

foreach(glob('includes/*.php') as $file) {
    ...
}
Posted by: Guest on March-21-2020

Code answers related to "which of the following is used to find all PHP files under a certain directory?"

Browse Popular Code Answers by Language