diff --git a/reference/strings/functions/str-replace.xml b/reference/strings/functions/str-replace.xml index e3bc489824..744b15c56e 100644 --- a/reference/strings/functions/str-replace.xml +++ b/reference/strings/functions/str-replace.xml @@ -1,5 +1,5 @@ - + @@ -26,8 +26,8 @@ preg_replace. - In PHP 4.0.5 and later, every parameter to - str_replace can be an array. + As of PHP 4.0.5, every parameter in str_replace + can be an array. @@ -88,15 +88,9 @@ echo $count; // 2 - - This function is binary safe. - - - - str_replace was added in PHP 3.0.6, but was - buggy up until PHP 3.0.8. - - + + ¬e.bin-safe; + As of PHP 5.0.0 the number of matched and replaced @@ -108,6 +102,7 @@ echo $count; // 2 See also str_ireplace, + substr_replace, ereg_replace, preg_replace, and strtr.