Clarified (in the description) that entry keys are returned. Closes PHP bug #52247

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302055 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2010-08-10 01:31:30 +00:00
parent a72b61edd5
commit 380c441c88

View file

@ -13,8 +13,8 @@
<methodparam choice="opt"><type>int</type><parameter>num_req</parameter><initializer>1</initializer></methodparam>
</methodsynopsis>
<para>
<function>array_rand</function> is rather useful when you want to
pick one or more random entries out of an array.
Picks one ore more random entries out of an array, and returns the
key (or keys) of the random entries.
</para>
</refsect1>
<refsect1 role="parameters">