cvs: phpdoc /en/reference/strings/functions substr.xml

From: Date: Wed, 05 Nov 2008 09:00:09 +0000
Subject: cvs: phpdoc /en/reference/strings/functions substr.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2393@lists.php.net to get a copy of this message
vrana Wed Nov 5 09:00:09 2008 UTC Modified files: /phpdoc/en/reference/strings/functions substr.xml Log: Move info about returning false (bug #45967) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/substr.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc/en/reference/strings/functions/substr.xml diff -u phpdoc/en/reference/strings/functions/substr.xml:1.17 phpdoc/en/reference/strings/functions/substr.xml:1.18 --- phpdoc/en/reference/strings/functions/substr.xml:1.17 Fri Jun 6 11:21:10 2008 +++ phpdoc/en/reference/strings/functions/substr.xml Wed Nov 5 09:00:09 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.substr"> <refnamediv> <refname>substr</refname> @@ -50,6 +50,10 @@ from the end of <parameter>string</parameter>. </para> <para> + If <parameter>string</parameter> is less than or equal to + <parameter>start</parameter> characters long, &false; will be returned. + </para> + <para> <example> <title>Using a negative <parameter>start</parameter></title> <programlisting role="php"> @@ -72,9 +76,7 @@ If <parameter>length</parameter> is given and is positive, the string returned will contain at most <parameter>length</parameter> characters beginning from <parameter>start</parameter> (depending on the length of - <parameter>string</parameter>). If <parameter>string</parameter> is less - than or equal to <parameter>start</parameter> characters long, &false; - will be returned. + <parameter>string</parameter>). </para> <para> If <parameter>length</parameter> is given and is negative, then that many

« previous php.doc.cvs (#2393) next »