Re: [RFC] RNG fixes

From: Date: Tue, 21 Jun 2016 19:23:50 +0000
Subject: Re: [RFC] RNG fixes
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-94178@lists.php.net to get a copy of this message
On 21/06/16 19:32, Stanislav Malyshev wrote: >> I don't understand the drive to holding on to obviously faulty stuff. > What is for you "obviously faulty stuff" for literally thousands of > people is "code that works". I appreciate that there's a number of new > hip randomness tests that mt_rand may not satisfy, and there's new and > exciting number generator that we absolutely must implement because it's > new and exciting, but most users of mt_rand wouldn't really care, and > breaking their code for no reason that we have new and exciting RNG is > not what they would appreciate. Can someone explain why I should need 'crypto safe' random numbers when ALL *I* use rand for is to give a random order to content items on the page. Something more in sync with the shuffle and array_rand without the need to recode to actually use the array functions, or simply select an entry at random from a list. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#94178) next »