svn: /phpdoc/en/trunk/reference/strings/functions/ substr.xml
| From: | Daniel Egeberg | Date: | Tue, 27 Jul 2010 06:31:38 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ substr.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6922@lists.php.net to get a copy of this message | ||
degeberg Tue, 27 Jul 2010 06:31:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301600
Log:
Fixed PHP bug #52451 (substr() doc incomplete)
Bug: http://bugs.php.net/52451 (Open) substr() doc
incomplete
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/substr.xml
Modified: phpdoc/en/trunk/reference/strings/functions/substr.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/substr.xml 2010-07-27 06:09:14 UTC (rev 301599)
+++ phpdoc/en/trunk/reference/strings/functions/substr.xml 2010-07-27 06:31:38 UTC (rev 301600)
@@ -90,6 +90,11 @@
If <parameter>length</parameter> is given and is
<literal>0</literal>,
&false; or &null; an empty string will be returned.
</para>
+ <para>
+ If <parameter>length</length> is omitted, the substring starting from
+ <function>start</function> until the end of the string will be
+ returned.
+ </para>
<example>
<title>Using a negative <parameter>length</parameter></title>
<programlisting role="php">