36 $files = glob($pattern, $flags);
39 if (strpos($pattern,
'**') !== FALSE) {
40 $dirs = glob(dirname($pattern).DIRECTORY_SEPARATOR.
'*', GLOB_ONLYDIR|GLOB_NOSORT);
42 foreach ($dirs as $dir) {
66 return array_filter(
$files,
'is_file');
recursiveGlobFiles($pattern, $flags=0)
Performs a recursive glob search for files with the given pattern.
recursiveGlob($pattern, $flags=0)
Performs a recursive-enabled glob search with the given pattern.
Provides basic file system operations.