fnmatch
fnmatch
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
fnmatch — Match filename against a pattern
Description
bool fnmatch ( string $pattern , string $string [, int $flags = 0 ] )
fnmatch() checks if the passed string
would match the given shell wildcard pattern
.
Parameters
-
pattern
-
The shell wildcard pattern.
-
string<