(PHP 5 >= 5.3.0, PHP 7)
Construct a directory using glob
public GlobIterator::__construct ( string $path [, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO ] )
Constructs a new directory iterator from a glob expression.
Parameters:
path
The path of the directory.
flags
Option flags, the fla