str_replace

str_replace -- Replace all occurrences of the search string with the replacement string

Description

mixed str_replace ( mixed search, mixed replace, mixed subject)

Exempel 1 . str_replace( ) example






Not: str_replace() was added in PHP 3.0.6, but was buggy up until PHP 3.0.8.

See also : str_ireplace( ) , ereg_replace( ) , preg_replace( ) , and strtr( ) .