Bug #51180 [Opn->Csd]: Incorrect description of array_merge parameters
| From: | kalle@php.net | Date: | Sun, 14 Mar 2010 22:29:41 +0000 |
| Subject: | Bug #51180 [Opn->Csd]: Incorrect description of array_merge parameters | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4046@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51180&edit=1
ID: 51180
Updated by: kalle@php.net
Reported by: chealer at gmail dot com
Summary: Incorrect description of array_merge parameters
-Status: Open
+Status: Closed
Type: Bug
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: kalle
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.
I changed the parameter name from "array" to "..." as its used several
other places in the documentation
Previous Comments:
------------------------------------------------------------------------
[2010-03-14 23:29:21] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=296209
Log: Fixed bug #51180 (Incorrect description of array_merge parameters)
------------------------------------------------------------------------
[2010-03-02 05:42:01] chealer at gmail dot com
Description:
------------
http://ca2.php.net/manual/en/function.array-merge.php
gives synopsis
array array_merge ( array $array1 [, array $array2 [, array $... ]]
)
There is no parameter named array there, but the parameters section
contains
array
Variable list of arrays to recursively merge.
but nothing about array2.
I'm not sure how variadic functions should be documented.
array_merge_recursive also has this issue.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51180&edit=1