philip Thu Jul 24 01:18:41 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions str-replace.xml
Log:
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().
Index: phpdoc/en/reference/strings/functions/str-replace.xml
diff -u phpdoc/en/reference/strings/functions/str-replace.xml:1.9
phpdoc/en/reference/strings/functions/str-replace.xml:1.10
--- phpdoc/en/reference/strings/functions/str-replace.xml:1.9 Thu Jul 24 01:07:16
2003
+++ phpdoc/en/reference/strings/functions/str-replace.xml Thu Jul 24 01:18:41
2003
@@ -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 @@
</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>
+
+ ¬e.bin-safe;
+
<note>
<simpara>
As of <literal>PHP 5.0.0</literal> the number of matched and replaced
@@ -108,6 +102,7 @@
<para>
See also
<function>str_ireplace</function>,
+ <function>substr_replace</function>,
<function>ereg_replace</function>,
<function>preg_replace</function>, and
<function>strtr</function>.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php