cvs: phpdoc /en/reference/strings/functions str-ireplace.xml
| From: | Davey Shafik | Date: | Mon, 16 Jun 2003 15:14:47 +0000 |
| Subject: | cvs: phpdoc /en/reference/strings/functions str-ireplace.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969354510@lists.php.net to get a copy of this message | ||
davey Mon Jun 16 11:14:47 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions str-ireplace.xml
Log:
changed example to actually use str_ireplace() instead of str_replace
Index: phpdoc/en/reference/strings/functions/str-ireplace.xml
diff -u phpdoc/en/reference/strings/functions/str-ireplace.xml:1.3
phpdoc/en/reference/strings/functions/str-ireplace.xml:1.4
--- phpdoc/en/reference/strings/functions/str-ireplace.xml:1.3 Fri May 30 12:47:59 2003
+++ phpdoc/en/reference/strings/functions/str-ireplace.xml Mon Jun 16 11:14:47 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.str-ireplace">
<refnamediv>
@@ -50,7 +50,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$bodytag = str_replace("%body%", "black", "<body
text=%BODY%>");
+$bodytag = str_ireplace("%body%", "black", "<body
text=%BODY%>");
?>
]]>
</programlisting>