PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
rand() is not very random.
Basically number i has some correllation to number i-1.
If I use rand() to generate a very long list of numbers there is a fair probability that the distribution of the numbers won't be uniform.
True random genrators are implemented in hardware.
I am looking for an improvement for the rand() function if anyone knows of one