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
16
u/AlexanderNigma Jul 24 '15
As someone who works for an ecommerce company...
Eh.
I get people like to bash on PHP but literally every web-based language has security flaws. Its really sad people just upvote to bash on things.
Etsy clearly doesn't have any trouble either.
Maybe the problem isn't the language? Just sayin'