gmp_random_range

gmp_random_range

(PHP 5 >= 5.6.3, PHP 7)

gmp_random_rangeRandom number

Description

GMP gmp_random_range ( GMP $min , GMP $max )

Generate a random number. The number will be between min and max.

min and max can both be negative but min must always be less than max.