note 74477 added to function.array-rand

From: Date: Fri, 13 Apr 2007 08:24:18 +0000
Subject: note 74477 added to function.array-rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-125352@lists.php.net to get a copy of this message
array_rand() is very useful, but note: In the case that the count of the array is smaller then the optional parameter 'num_req', it will return an empty array (or string). ---- Server IP: 212.124.37.9 Probable Submitter: 83.236.214.186 ---- Manual Page -- http://www.php.net/manual/en/function.array-rand.php Edit -- https://master.php.net/note/edit/74477 Del: integrated -- https://master.php.net/note/delete/74477/integrated Del: useless -- https://master.php.net/note/delete/74477/useless Del: bad code -- https://master.php.net/note/delete/74477/bad+code Del: spam -- https://master.php.net/note/delete/74477/spam Del: non-english -- https://master.php.net/note/delete/74477/non-english Del: in docs -- https://master.php.net/note/delete/74477/in+docs Del: other reasons-- https://master.php.net/note/delete/74477 Reject -- https://master.php.net/note/reject/74477 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125352) next »