Hey Stas, > On 12 Jan 2015, at 01:03, Stanislav Malyshev <smalys...@gmail.com> wrote: > > Having new, better API is fine. Breaking existing working code because > new, better API is possible, is not fine.
The manual explicitly guarantees that code should not rely on the random number generator being predictable. If people want their existing code to continue to work, we could of course allow this new API to support the C stdlib rand() as an algorithm for BC reasons. But such code was never supposed to work in this first place. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php