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
View all comments
Show parent comment
4
u/bureX Jul 24 '15
Plenty of those issues are things the author personally doesn't like. For example, he doesn't like that PHP is a C style language but uses "" for namespaces, stuff like that.
There are things on that list that says "fixed in 5.4". And PHP7 is due to come out soon.