## 例

`

     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.

## 戻り値

Returns an array containing the matched files/directories, an empty array if no file matched or FALSE on error. Note: On some systems it is impossible to distinguish between empty match and an error.