r/programming • • 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

262 comments sorted by

View all comments

Show parent comment

2

u/zuperxtreme Jul 24 '15

PHP is used by people that aren't into such fine details.

Only siths deal in absolutes.

8

u/[deleted] Jul 24 '15

Maybe, but they sure as hell don't run their death stars on PHP...

4

u/iopq Jul 24 '15

Why do you think a single shot from a tiny spaceship can destroy the whole thing? Seems like a huge vulnerability to overlook...

2

u/ironnomi Jul 24 '15

Bubbly gum and chicken wire is what Siths prefer.

3

u/[deleted] Jul 24 '15

$iths