Doc #63985 [Opn->Csd]: Error in documentation
Edit report at https://bugs.php.net/bug.php?id=63985&edit=1
ID: 63985
Updated by: googleguy@php.net
Reported by: grusaren at yahoo dot se
Summary: Error in documentation
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Online Doc Editor problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: googleguy
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN, and should show up online in an
hour or three.
Thank you for the report, and for helping us make PHP.net better.
Previous Comments:
------------------------------------------------------------------------
[2013-01-16 14:32:47] googleguy@php.net
Automatic comment from SVN on behalf of googleguy
Revision: http://svn.php.net/viewvc/?view=revision&revision=329161
Log: Removed dubious wording in implode parameter description. Fixes bug #63985.
------------------------------------------------------------------------
[2013-01-14 11:58:59] grusaren at yahoo dot se
Description:
------------
---
From manual page: http://www.php.net/function.implode#refsect1-function.implode-
parameters
---
First this is said about the function implode:
-------
Note:
implode() can, for historical reasons, accept its parameters in either order.
For consistency with explode(), however, it may be less confusing to use the
documented order of arguments.
-------
Then this is said about the first parameter "glue":
-------
glue
Defaults to an empty string. This is not the preferred usage of implode() as
glue would be the second parameter and thus, the bad prototype would be used.
-------
What do you want to tell us really? Nothing is ok? Both having glue as the first
parameter or the second is ok?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63985&edit=1
Thread (2 messages)