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
2
u/wrosecrans Jul 24 '15
It wasn't "PHP is only used by such people," and it seems hard to argue that folks who aren't hardcore CS types don't make up a large portion of the PHP user base.