Bug #10449: shuffle() function crashes PHP

From: Date: Mon, 23 Apr 2001 05:24:14 +0000
Subject: Bug #10449: shuffle() function crashes PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-52170@lists.php.net to get a copy of this message
From: sthurrowgood@yahoo.com.au Operating system: Solaris PHP version: 4.0.4pl1 PHP Bug Type: Arrays related Bug description: shuffle() function crashes PHP I know it is a known problem with the rand() implementation on some systems - so my question is: Why not implement the shuffle function in a way that does not stuff up on some systems e.g. use the mt_rand() function with its known randomness and known random implementation - and save everyone on Solaris systems (and possibly others) from having to write their own shuffle functions (which I have be forced to do). Thanks. -- Edit Bug report at: http://bugs.php.net/?id=10449&edit=1

« previous php.dev (#52170) next »