Replace all occurrences of the search string with the replacement string
str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] ) : mixed
The value being searched for, otherwise known as the needle. An array may be used to designate multiple needles.
The replacement value that replaces found search values. An array may be used to designate multiple replacements.
The string or array being searched and replaced on, otherwise known as the haystack. 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.
If passed, this will be set to the number of replacements performed.
This function returns a string or an array with the replaced values.
SEARCH REPLACE SUBJECT
replace Case CASE
replace replace replace
replace1 replace2 replace3