PHP function str_ireplace()
Availability in PHP 5.0
Case-insensitive version of
Parameters
| 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. |
Return values
mixed
a string or an array of replacements.