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>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to