6y, 33w
2 replies
¬
Mark Dain
Hahaha well I'm glad they're preserving backwards compatibility! You can't really fix a bug in mt_rand as it's not truly random so there's a chance someone will depend on the output - of a function called rand - being predictable, amazingly. sigh. Just use random_int on 7+ and paragonie/random_compat on 5.x if you want quality random numbers (you probably want that)
6y, 33w
1 reply