glob

glob

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

globFind pathnames matching a pattern

Description

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 paramet