note 107527 added to function.mt-srand

From: Date: Wed, 15 Feb 2012 15:19:23 +0000
Subject: note 107527 added to function.mt-srand
Groups: php.notes 
Request: Send a blank email to php-notes+get-186148@lists.php.net to get a copy of this message
God bless my PHP 5.3.6, there is NO such strange behavior like this: "--- Since 5.2.1 Mersenne Twister in PHP now use new algorythm of reinitializing, developed by Richard Wagner Same seeds not produce same chains of values. ---" O_\ One's more: God bless my PHP 5.3.6, there is NO such strange behavior! Same seeds produce SAME chains of values. And it MUST be so! M.T. IS PSEUDO random number generator. It is useful feature. If we need truly random we will initialize our web-applications by mt_srand(Microtemperature_of_CPU) ---- Server IP: 69.147.83.197 Probable Submitter: 84.53.243.110 ---- Manual Page -- http://www.php.net/manual/en/function.mt-srand.php Edit -- https://master.php.net/note/edit/107527 Del: integrated -- https://master.php.net/note/delete/107527/integrated Del: useless -- https://master.php.net/note/delete/107527/useless Del: bad code -- https://master.php.net/note/delete/107527/bad+code Del: spam -- https://master.php.net/note/delete/107527/spam Del: non-english -- https://master.php.net/note/delete/107527/non-english Del: in docs -- https://master.php.net/note/delete/107527/in+docs Del: other reasons-- https://master.php.net/note/delete/107527 Reject -- https://master.php.net/note/reject/107527 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186148) next »