which of the following is used to find all PHP files under a certain directory? code example
Example: php get all php files in a directory
foreach(glob('includes/*.php') as $file) {
...
}
foreach(glob('includes/*.php') as $file) {
...
}