Doc #55263 [NEW]: array-key-exists description uses "$key, $search" not "$needle, $haystack"
| From: | jambroo at gmail dot com | Date: | Thu, 21 Jul 2011 23:37:41 +0000 |
| Subject: | Doc #55263 [NEW]: array-key-exists description uses "$key, $search" not "$needle, $haystack" | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6911@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: 5.3.6
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:array-key-exists description uses "$key, $search" not "$needle,
$haystack"
Description:
------------
It would be greate for the method description to read:
"bool array_key_exists ( mixed $needle , array $haystack )"
instead of
"bool array_key_exists ( mixed $key , array $search )"
Similar to:
"string strstr ( string $haystack , mixed $needle [, bool $before_needle =
false
] )"
"mixed array_search ( mixed $needle , array $haystack [, bool $strict =
false ]
)"
"string strrchr ( string $haystack , mixed $needle )"
Thanks!
---
From manual page:
http://www.php.net/function.array-key-exists%23Description
---
--
Edit bug report at https://bugs.php.net/bug.php?id=55263&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55263&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55263&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55263&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55263&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55263&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55263&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55263&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55263&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55263&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55263&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55263&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55263&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55263&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55263&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55263&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55263&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55263&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55263&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55263&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55263&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55263&r=mysqlcfg