Theme images by Storman. Powered by Blogger.

01 June 2016

Generate random number in php

Many desultory number engenderers of older libcs have dubious or unknown characteristics and are slow. By default, PHP utilizes the libc desultory number engenderer with the rand() function. The mt_rand() function is a drop-in supersession for this. It utilizes a desultory number engenderer with kenned characteristics utilizing the »  Mersenne Twister, which will engender desultory numbers four times more expeditious than what the average libc rand() provides.


0 on: "Generate random number in php"