On 19 January 2017 at 01:10, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > > Thank you. I have to be able to modify patch, so I'll fetch your change to > my repo > and make PR. BTW, I don't think we have to care for failing CSPRNG. If it > failed, > application should fail properly, i.e. should terminate process/code. > PHP apps are not OS nor DBMS, they have freedom to terminate/exit when fatal > event happened. >
You _do_ have to care if it fails. This is a breaking change if it is not handled. mt_rand is _not_ a CSPRNG, and therefore the absence of a CSPRNG should not make mt_rand unusable. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php