For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2007 > cvs: phpdoc /en/reference/strings/functions str-replace.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/strings/functions str-replace.xml
Jakub Vrana

2007-03-23, 6:59 pm

vrana Fri Mar 23 17:10:16 2007 UTC

Modified files:
/phpdoc/en/reference/strings/functions str-replace.xml
Log:
Case-sensitive (bug #40468)

http://cvs.php.net/viewvc.cgi/phpdo...2&diff_format=u
Index: phpdoc/en/reference/strings/functions/str-replace.xml
diff -u phpdoc/en/reference/strings/functions/str-replace.xml:1.21 phpdoc/en/reference/strings/functions/str-replace.xml:1.22
--- phpdoc/en/reference/strings/functions/str-replace.xml:1.21 Mon Feb 26 07:42:02 2007
+++ phpdoc/en/reference/strings/functions/str-replace.xml Fri Mar 23 17:10:16 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.str-replace">
<refnamediv>
@@ -111,6 +111,13 @@
¬e.bin-safe;

<note>
+ <para>
+ This function is case-sensitive. Use <function>str_ireplace</function>
+ for case-insensitive replace.
+ </para>
+ </note>
+
+ <note>
<simpara>
As of PHP 5.0.0 the number of matched and replaced
needles (<parameter>search</parameter> ) will be returned in
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com