Posts Tagged ‘random numbers’

Generating Better Random Numbers With PHP

March 23rd, 2012 Leave a comment
Generating Better Random Numbers With PHP

For most developers, when we talk about “random” numbers we are talking about two ideas: Predictability and Bias. Both are closely related but have some fundamental differences. In this article I will discuss these two ideas as well as evaluate how random numbers are achieved using PHP so you can have a better understanding of them the next time you need random numbers in your program. To begin to understand how to generate better random numbers, you must first understand how random numbers work. As stated before, random numbers must have two characteristics: predictability and bias. Predictability… View full post »