mazzanet Wed Feb 28 10:28:57 2007 UTC
Modified files:
/phpdoc/en/reference/strings/functions substr-replace.xml
Log:
Noted the use of being able to insert a string
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/substr-replace.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/strings/functions/substr-replace.xml
diff -u phpdoc/en/reference/strings/functions/substr-replace.xml:1.5
phpdoc/en/reference/strings/functions/substr-replace.xml:1.6
--- phpdoc/en/reference/strings/functions/substr-replace.xml:1.5 Fri Jun
24 09:11:47 2005
+++ phpdoc/en/reference/strings/functions/substr-replace.xml Wed Feb 28
10:28:57 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.substr-replace">
<refnamediv>
@@ -41,7 +41,11 @@
<parameter>string</parameter> at which to stop replacing. If it
is not given, then it will default to strlen(
<parameter>string</parameter> ); i.e. end the replacing at the
- end of <parameter>string</parameter>.
+ end of <parameter>string</parameter>. Of course, if
+ <parameter>length</parameter> is zero then this function will have the
+ effect of inserting <parameter>replacement</parameter> into
+ <parameter>string</parameter> at the given
+ <parameter>start</parameter> offset.
</para>
<para>
<example>