PHP - Manual: stats_rand_gen_funiform
2024-12-25
(PECL stats >= 1.0.0)
stats_rand_gen_funiform — Generates uniform float between low (exclusive) and high (exclusive)
$low
, float $high
) : float
Returns a random deviate from the uniform distribution from
low
to high
.
low
The lower bound (inclusive)
high
The upper bound (exclusive)
A random deviate
官方地址:https://www.php.net/manual/en/function.stats-rand-gen-funiform.php