Availability in PHP 5.0
Case-insensitive version of 
| Parameter | Data type | Default value | Note | 
|---|---|---|---|
$search | 
mixed | 
not | Every replacement with search array is performed on the result of previous replacement. | 
$replace | 
mixed | 
not | |
$subject | 
mixed | 
not | 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. | 
mixed
a string or an array of replacements.
Official str-ireplace documentation
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články a novinky nejen ze světa PHP a programování. Nenechte si ujít jediný článek.
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | en