PHP - Manual: stats_rand_gen_iuniform
2025-02-27
(PECL stats >= 1.0.0)
stats_rand_gen_iuniform — Generates integer uniformly distributed between LOW (inclusive) and HIGH (inclusive)
Returns a random integer from the discrete uniform distribution between low
(inclusive)
and high
(inclusive).
low
The lower bound
high
The upper bound
A random integer
官方地址:https://www.php.net/manual/en/function.stats-rand-gen-iuniform.php