svn: /phpdoc/en/trunk/reference/array/functions/ array-rand.xml

From: Date: Tue, 10 Aug 2010 01:31:30 +0000
Subject: svn: /phpdoc/en/trunk/reference/array/functions/ array-rand.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6978@lists.php.net to get a copy of this message
philip Tue, 10 Aug 2010 01:31:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302055 Log: Clarified (in the description) that entry keys are returned. Closes PHP bug #52247 Bug: http://bugs.php.net/52247 (Open) more precise head description of array_rand() Changed paths: U phpdoc/en/trunk/reference/array/functions/array-rand.xml Modified: phpdoc/en/trunk/reference/array/functions/array-rand.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/array-rand.xml 2010-08-10 00:43:03 UTC (rev 302054) +++ phpdoc/en/trunk/reference/array/functions/array-rand.xml 2010-08-10 01:31:30 UTC (rev 302055) @@ -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">

« previous php.doc.cvs (#6978) next »