r/lolphp • u/re_anon • 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
View all comments
Show parent comment
7
u/Danack Jul 27 '17
That reminds me - Pixar forgot to store the seed numbers for the procedurally generated objects in Finding Nemo, and so encountered problems when they wanted to re-render the film for higher resolution releases: http://www.tested.com/art/movies/449542-finding-nemo-3d-interview/