NAME ^

php_rand.pir - PHP rand Standard Library

DESCRIPTION ^

Functions ^

int getrandmax(void)

Returns the maximum value a random number can have

int mt_getrandmax(void)

Returns the maximum value a random number from Mersenne Twister can have

int mt_rand([int min, int max])

Returns a random number from Mersenne Twister

void mt_srand([int seed])

Seeds Mersenne Twister random number generator

int rand([int min, int max])

Returns a random number

void srand([int seed])

Seeds random number generator


parrot