Gen. partnerAlgotech

PHP funkce fnmatch()

Match filename against a pattern

|
11. září 2019

Dostupnost ve verzích: PHP 4.3.0

Match filename against a pattern

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$pattern string není The shell wildcard pattern.
$string string není 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 (

bool

true if there is a match, false otherwise.

Další zdroje

Oficiální dokumentace funkce fnmatch

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.