note 105049 deleted from function.rand by danbrown

From: Date: Mon, 25 Jul 2011 12:19:08 +0000
Subject: note 105049 deleted from function.rand by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-181822@lists.php.net to get a copy of this message
Note Submitter: invaliduser at invalidmail dot com ---- To Alex at Khim: I ran your gfx test on PHP 2.6.26-26lenny3 in Debian 4.1.2-25 and both rand() and mt_rand() produced random noise (that looked like what a TV shows when no TV channel is being received). The bottom line is, rand() is not broken on all platforms and in all environments. You should test it. Thanks for the test. It's really interesting and helpful.

« previous php.notes (#181822) next »