note 74036 added to function.mt-rand

From: Date: Wed, 21 Mar 2007 17:18:58 +0000
Subject: note 74036 added to function.mt-rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-124680@lists.php.net to get a copy of this message
The algorithm used by mt_rand() changed in PHP 5.2.1. If you are relying on getting the same sequence from mt_rand() after calling mt_srand() with a known seed, upgrading to PHP 5.2.1 will break your code. See http://bugs.php.net/bug.php?id=40724 for something of an explanation; there is no workaround. ---- Server IP: 216.194.113.175 Probable Submitter: 74.1.141.195 ---- Manual Page -- http://www.php.net/manual/en/function.mt-rand.php Edit -- https://master.php.net/note/edit/74036 Del: integrated -- https://master.php.net/note/delete/74036/integrated Del: useless -- https://master.php.net/note/delete/74036/useless Del: bad code -- https://master.php.net/note/delete/74036/bad+code Del: spam -- https://master.php.net/note/delete/74036/spam Del: non-english -- https://master.php.net/note/delete/74036/non-english Del: in docs -- https://master.php.net/note/delete/74036/in+docs Del: other reasons-- https://master.php.net/note/delete/74036 Reject -- https://master.php.net/note/reject/74036 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124680) next »