note 105049 added to function.rand

From: Date: Mon, 25 Jul 2011 10:09:34 +0000
Subject: note 105049 added to function.rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-181821@lists.php.net to get a copy of this message
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. ---- Server IP: 117.104.162.229 Probable Submitter: 62.24.72.218 (proxied: 62.24.72.218) ---- Manual Page -- http://www.php.net/manual/en/function.rand.php Edit -- https://master.php.net/note/edit/105049 Del: integrated -- https://master.php.net/note/delete/105049/integrated Del: useless -- https://master.php.net/note/delete/105049/useless Del: bad code -- https://master.php.net/note/delete/105049/bad+code Del: spam -- https://master.php.net/note/delete/105049/spam Del: non-english -- https://master.php.net/note/delete/105049/non-english Del: in docs -- https://master.php.net/note/delete/105049/in+docs Del: other reasons-- https://master.php.net/note/delete/105049 Reject -- https://master.php.net/note/reject/105049 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181821) next »