PHP funkce str_ireplace()
06. 07. 2020Dostupnost ve verzích: PHP 5.0
Case-insensitive version of
Parametry
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$search | mixed | Every replacement with search array is performed on the result of previous replacement. | |
$replace | mixed | ||
$subject | mixed | If subject is an array, then the search and replace is performed with every entry of subject, and the return value is an array as well. | |
$count | int | null | The number of matched and replaced needles will be returned in count which is passed by reference. |
Návratové hodnoty
mixed
a string or an array of replacements.
Další zdroje
https://php.net/manual/en/function.str-ireplace.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