Doc #51937 [Opn->Csd]: Return Values section for explode does not mention the "normal" return case.
| From: | salathe@php.net | Date: | Fri, 28 May 2010 08:33:06 +0000 |
| Subject: | Doc #51937 [Opn->Csd]: Return Values section for explode does not mention the "normal" return case. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4465@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51937&edit=1
ID: 51937
Updated by: salathe@php.net
Reported by: mike at pelley dot com
Summary: Return Values section for explode does not mention the
"normal" return case.
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: salathe
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.
Previous Comments:
------------------------------------------------------------------------
[2010-05-28 10:32:08] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=299897
Log: added normal return value description for explode - fixes bug
#51937
------------------------------------------------------------------------
[2010-05-27 23:43:40] mike at pelley dot com
Description:
------------
For consistency with other entries, the "Return Values" section should
mention the normally-expected return, and then all of the "odd" return
possibilities. For explode, the normal return value is not mentioned in
this section (i.e. an array of strings).
I'd suggest pre-pending the existing Result Values paragraph with the
following paragraph, copied from the description above:
Returns an array of strings, each of which is a substring of string
formed by splitting it on boundaries formed by the string delimiter.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51937&edit=1