note 95155 added to function.mt-rand

From: Date: Tue, 15 Dec 2009 20:45:15 +0000
Subject: note 95155 added to function.mt-rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-164022@lists.php.net to get a copy of this message
@geompse On my benchmarks, mt_rand() is usually slightly faster than rand(). I tested this on 5.2.9 and 5.3.0 on Windows and 5.2.11 on Linux. But either way, the manual seems to be misleading when it states that the mt_rand() random number generator will generate numbers four times faster than rand(). ---- Server IP: 208.69.120.55 Probable Submitter: 64.31.193.61 ---- Manual Page -- http://www.php.net/manual/en/function.mt-rand.php Edit -- https://master.php.net/note/edit/95155 Del: integrated -- https://master.php.net/note/delete/95155/integrated Del: useless -- https://master.php.net/note/delete/95155/useless Del: bad code -- https://master.php.net/note/delete/95155/bad+code Del: spam -- https://master.php.net/note/delete/95155/spam Del: non-english -- https://master.php.net/note/delete/95155/non-english Del: in docs -- https://master.php.net/note/delete/95155/in+docs Del: other reasons-- https://master.php.net/note/delete/95155 Reject -- https://master.php.net/note/reject/95155 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164022) next »