Complete PHP Filesystem Reference
The fnmatch() function matches a filename or string against the specified pattern.
| Parameter | Description |
|---|---|
| pattern | Required. Specifies the pattern to search for |
| string | Required. Specifies the string or file check |
| flags | Optional. |
Note: This function is not implemented on Windows platforms.
Checking a color name against a shell wildcard pattern:
Complete PHP Filesystem Reference
Your message has been sent to W3Schools.