Doc #52247 [Opn->Csd]: more precise head description of array_rand()
| From: | philip@php.net | Date: | Tue, 10 Aug 2010 01:32:35 +0000 |
| Subject: | Doc #52247 [Opn->Csd]: more precise head description of array_rand() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4823@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52247&edit=1
ID: 52247
Updated by: philip@php.net
Reported by: flyingmana at googlemail dot com
Summary: more precise head description of array_rand()
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: philip
Block user comment: N
New Comment:
A close call, but I determined that the title should remain simple and
instead
updated the functions description to include this information. Thanks
for the bug
report, the fix will show up this upcoming Friday.
Previous Comments:
------------------------------------------------------------------------
[2010-08-10 03:31:32] philip@php.net
Automatic comment from SVN on behalf of philip
Revision: http://svn.php.net/viewvc/?view=revision&revision=302055
Log: Clarified (in the description) that entry keys are returned. Closes
PHP bug #52247
------------------------------------------------------------------------
[2010-07-04 19:27:51] flyingmana at googlemail dot com
Description:
------------
At the moment there stands
"array_rand â Pick one or more random entries out of an array"
But, it does not return the elements how someone (for example me) would
think.
It returns the keys of the elements.
I know, at the return type description it is more precise, but the head
should also left no misunderstandings.
So i would propose following head description
"array_rand â Pick one or more random entries out of an array and
return there Keys"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52247&edit=1