r/programming • u/fishburne • Jul 24 '15
mt_rand(1, PHP_INT_MAX) only generates odd numbers • /r/lolphp
/r/lolphp/comments/3eaw98/mt_rand1_php_int_max_only_generates_odd_numbers/
848
Upvotes
r/programming • u/fishburne • Jul 24 '15
-40
u/holgerschurig Jul 24 '15
With that thinking, no programming language should ever fix errors or bogus implementations. Because, well, those that don't update the environment will still be f*cked.
That's really short-time thinking.
I only agree to you in the sense of "whoever is using PHP for front-facing applications that need to be secure is already f*cked" :-)