Wrapper for glob with fallback if GLOB_BRACE is not available.
Methods
Find pathnames matching a pattern.
glob(string $pattern, int $flags, bool $forceFallback) : array
see |
\Zend\Stdlib\http://docs.php.net/glob |
Parameters
$pattern
string
$flags
int
$forceFallback
bool
Exceptions
Returns
array
Expand braces manually, then use the system glob.
fallbackGlob(string $pattern, int $flags) : array
Parameters
$pattern
string
$flags
int
Exceptions
Returns
array
Find the end of the sub-pattern in a brace expression.
nextBraceSub(string $pattern, int $begin, int $flags) : int | null
Parameters
$pattern
string
$begin
int
$flags
int
Returns
int
null
Use the glob function provided by the system.
systemGlob(string $pattern, int $flags) : array
Parameters
$pattern
string
$flags
int
Exceptions
Returns
array
Constants
GLOB_NOCHECK
GLOB_NOCHECK
GLOB_NOESCAPE
GLOB_NOESCAPE
GLOB_ONLYDIR
GLOB_ONLYDIR