Function

fnmatch

Synopsis

fnmatch(string, string, mixed ...): bool

Area
Runtime\PS\Core\Strings\fnmatchareas

Description

fnmatch reports whether $str matches the shell wildcard $pattern, where

  • and ? cross a directory separator unless $flags names FNM_PATHNAME; the other flags are FNM_NOESCAPE, FNM_PERIOD and FNM_CASEFOLD.

Usage

$value = fnmatch($arguments);
$fn = fnmatch(...);

See also