public static function Glob::glob in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/Glob.php \Zend\Stdlib\Glob::glob()
Find pathnames matching a pattern.
Parameters
string $pattern:
int $flags:
bool $forceFallback:
Return value
array
Throws
Exception\RuntimeException
See also
File
- vendor/
zendframework/ zend-stdlib/ src/ Glob.php, line 39
Class
- Glob
- Wrapper for glob with fallback if GLOB_BRACE is not available.
Namespace
Zend\StdlibCode
public static function glob($pattern, $flags = 0, $forceFallback = false) {
if (!defined('GLOB_BRACE') || $forceFallback) {
return static::fallbackGlob($pattern, $flags);
}
return static::systemGlob($pattern, $flags);
}