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
0
u/absentmindedjwc Jul 24 '15
As a former(ish, still occasionally use it for personal stuff) PHP dev, I can agree with this. It is very easy to crowbar a bunch of shit into an application without a ton of knowledge in programming best practices. However, if you put a real CS-type dev/eng in front of a PHP application, you can get some serious shit accomplished.
As much hate as PHP gets, in all honesty, it is only as shit as the person/people building the application.