(PECL stats >= 1.0.0)
stats_rand_gen_chisquare — Generates a random deviate from the chi-square distribution
stats_rand_gen_chisquare ( float $df ) : float
Returns a random deviate from the chi-square distribution where the degrees of freedom is df
.
df
The degrees of freedom
A random deviate
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-rand-gen-chisquare.php