Bug #69146 [Opn->Csd]: substr docs issue
| From: | salathe@php.net | Date: | Sat, 28 Feb 2015 14:37:55 +0000 |
| Subject: | Bug #69146 [Opn->Csd]: substr docs issue | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11979@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69146&edit=1
ID: 69146
Updated by: salathe@php.net
Reported by: olafvdspek at gmail dot com
Summary: substr docs issue
-Status: Open
+Status: Closed
Type: Bug
Package: Documentation problem
Operating System: *
PHP Version: Irrelevant
-Assigned To:
+Assigned To: salathe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
When 0, FALSE or NULL are given as the length parameter, the function will return an empty string.
I've added a comma between "NULL" and "an empty string" to make the
sentence read correctly.
See http://svn.php.net/viewvc?view=revision&revision=336019
Previous Comments:
------------------------------------------------------------------------
[2015-02-28 13:26:26] olafvdspek at gmail dot com
Description:
------------
> If length is given and is 0, FALSE or NULL an empty string will be returned.
Is this missing an or?
Is one of the three returned at random?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69146&edit=1