(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Find pathnames matching a pattern
array glob ( string $pattern [, int $flags = 0 ] )
The glob() function searches for all the pathnames matching pattern according to the rules used by the libc glob() function, which is similar to the rules used by common shells.
Parameters:
pattern
The pattern. No tilde expansion or parameter substitutio