| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
fnmatch(PHP 4 >= 4.3.0, PHP 5) fnmatch — Match filename against a pattern Beschreibung
bool fnmatch
( string $pattern
, string $string
[, int $flags
] )
fnmatch() checks if the passed string would match the given shell wildcard pattern . Parameter Liste
RückgabewerteReturns TRUE if there is a match, FALSE otherwise. Beispiele
Example#1 Checking a color name against a shell wildcard pattern
<?phpAnmerkungenWarnung
For now this function is not available on Windows or other non-POSIX compliant systems. |