Remove note about being buggy in 3.0.6-8, and use of the binary safe entity.

Also a grammar fix, and see also substr_replace().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135763 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-07-24 05:18:41 +00:00
parent 5a0c95a2ac
commit adc86633bc

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.str-replace">
<refnamediv>
@ -26,8 +26,8 @@
<function>preg_replace</function>.
</para>
<para>
In PHP 4.0.5 and later, every parameter to
<function>str_replace</function> can be an array.
As of PHP 4.0.5, every parameter in <function>str_replace</function>
can be an <type>array</type>.
</para>
<warning>
<simpara>
@ -88,15 +88,9 @@ echo $count; // 2
</programlisting>
</example>
</para>
<para>
This function is binary safe.
</para>
<note>
<para>
<function>str_replace</function> was added in PHP 3.0.6, but was
buggy up until PHP 3.0.8.
</para>
</note>
&note.bin-safe;
<note>
<simpara>
As of <literal>PHP 5.0.0</literal> the number of matched and replaced
@ -108,6 +102,7 @@ echo $count; // 2
<para>
See also
<function>str_ireplace</function>,
<function>substr_replace</function>,
<function>ereg_replace</function>,
<function>preg_replace</function>, and
<function>strtr</function>.