note 108364 added to function.mt-srand

From: Date: Thu, 19 Apr 2012 19:34:02 +0000
Subject: note 108364 added to function.mt-srand
Groups: php.notes 
Request: Send a blank email to php-notes+get-187249@lists.php.net to get a copy of this message
The Mersenne Twister implementation in PHP now uses a new seeding algorithm by Richard Wagner. Identical seeds no longer produce the same sequence of values they did in previous versions. This behavior is not expected to change again, but it is considered unsafe to rely upon it nonetheless. This change costs me about 2 days debugging. Why on earth did PHP do this change????????? ---- Server IP: 72.55.140.6 Probable Submitter: 213.46.154.47 ---- Manual Page -- http://www.php.net/manual/en/function.mt-srand.php Edit -- https://master.php.net/note/edit/108364 Del: integrated -- https://master.php.net/note/delete/108364/integrated Del: useless -- https://master.php.net/note/delete/108364/useless Del: bad code -- https://master.php.net/note/delete/108364/bad+code Del: spam -- https://master.php.net/note/delete/108364/spam Del: non-english -- https://master.php.net/note/delete/108364/non-english Del: in docs -- https://master.php.net/note/delete/108364/in+docs Del: other reasons-- https://master.php.net/note/delete/108364 Reject -- https://master.php.net/note/reject/108364 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187249) next »