#12312 [Fbk->Opn]: array_mt_rand() ?

From: Date: Fri, 06 Jun 2003 19:54:07 +0000
Subject: #12312 [Fbk->Opn]: array_mt_rand() ?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-41388@lists.php.net to get a copy of this message
ID: 12312 Updated by: sniper@php.net Reported By: lramsey at crystalorb dot net -Status: Feedback +Status: Open Bug Type: Feature/Change Request Operating System: Linux 2.4.3 PHP Version: 4.0.6 New Comment: There is no 'array_shuffle()' and shuffle() uses rand too. Having array_mt_rand() is quite good idea. Previous Comments: ------------------------------------------------------------------------ [2003-05-31 10:37:15] andrey@php.net Does array_shuffle() solve this? ------------------------------------------------------------------------ [2001-07-22 21:23:20] lramsey at crystalorb dot net As the mt_rand() algorithim creates better random numbers than rand(), would it be possible to include in future releases of the language to include a version of array_rand() that uses mt_rand()? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12312&edit=1

« previous php.bugs (#41388) next »