gmp_random

gmp_random

(PHP 4 >= 4.0.4, PHP 5, PHP 7)

gmp_randomRandom number

Warning

This function has been DEPRECATED as of PHP 7.2.0. Relying on this function is highly discouraged.

Description

GMP gmp_random ([ int $limiter = 20 ] )

Generate a random number. The number will be between zero and the number of bits per limb multiplied by limiter. If limiter is negative, negative numbers are generated.

登录查看完整内容