I have just noticed that I am a bad boy and call srand() and mt_srand() several times during a script's execution. I am thinking of making makeSeed() and seedGenerators() functions that are only called once per script execution.
Maybe one day I will add a argument dealing with the "goodness" of the seed, but for now I'll just stick with the trusty formula for the seed:
(double)microtime()*1000003
My question is if it is even worth calling srand() and mt_srand() for that seed, since newer versions of PHP automatically seed the generator for you if you call rand() or mt_rand() without first calling srand() or mt_srand()? How good are the automagically-generated seeds that PHP uses?
I'm trying to keep performance in mind.