3
I asked a question here about a question I had about how we used random number generation.
There I quote that PHP uses a term called "sow random numbers" or "random seed".
This is a reference to functions mt_srand
and srand
which, according to the PHP Handbook, predates versions 4.1
it was mandatory to use these functions before invoking functions that generated random numbers (mt_rand
and rand
).
And I have the impression of having already seen these functions "sowers" in C
.
What is a random seed?
Why, prior to these versions, it was necessary to call a sower, and now it is no longer?
Well, I was wondering why these functions are no longer called to use the "random" ones as well.
– Wallace Maxters