PHP funkce fnmatch()
06. 07. 2020Dostupnost ve verzích: PHP 4.3.0
Match filename against a pattern
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$pattern | string | The shell wildcard pattern. | |
$string | string | The tested string. This function is especially useful for filenames, but may also be used on regular strings. | |
$flags | int | null | The value of flags can be any combination of the following flags, joined with the binary OR ( |
Návratové hodnoty
bool
true if there is a match, false otherwise.
Další zdroje
https://php.net/manual/en/function.fnmatch.php
Jan Barášek Více o autorovi
Autor článku podniká jako fullstack senior developer v Praze. Spravuje 300 různě velkých webových projektů, fungujících dodnes. Během spolupráce nabral hluboké zkušenosti, které na tomto webu předává dál.
Rád vám pomůžu:
Kontakt Konzultace a služby Nabídka spolupráce