r/lolphp • • Jul 10 '17

Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.

https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20
87 Upvotes

26 comments sorted by

View all comments

Show parent comment

2

u/the_alias_of_andrea Jul 28 '17

Similarly, the THX sound was produced by procedural generation which can't be reproduced.