You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
Currently the generator allows seeding the RNG with arbitrary numbers:
public function seed($seed = null)
{
mt_srand($seed);
}
Unfortunately, leaving out the parameter does not call mt_srand() without parameters, but with null which has the same effect as mt_srand(0) (tested on PHP 5.4 and PHP 5.6)
The text was updated successfully, but these errors were encountered:
Currently the generator allows seeding the RNG with arbitrary numbers:
Unfortunately, leaving out the parameter does not call
mt_srand()
without parameters, but withnull
which has the same effect asmt_srand(0)
(tested on PHP 5.4 and PHP 5.6)The text was updated successfully, but these errors were encountered: