PHP: rand - Manual - PHP: Hypertext Preprocessor
A small comment on phpdev-dunnbypauls conclusion that rand() only generates numbers that are a multiply of 3. Since, 100000/32768=3.05 you get multiples of 3. The random integer will be multiplied by 3 ......