Bug #51180 [NEW]: Incorrect description of array_merge parameters
| From: | chealer at gmail dot com | Date: | Tue, 02 Mar 2010 04:42:02 +0000 |
| Subject: | Bug #51180 [NEW]: Incorrect description of array_merge parameters | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-3999@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem}
Bug Type: Bug
Bug description:Incorrect description of array_merge parameters
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 bug report at http://bugs.php.net/bug.php?id=51180&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51180&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51180&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51180&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51180&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51180&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51180&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51180&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51180&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51180&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51180&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51180&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51180&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51180&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51180&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51180&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51180&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51180&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51180&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51180&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51180&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51180&r=mysqlcfg