(PECL stats >= 1.0.0)
stats_dens_chisquare — Probability density function of the chi-square distribution
stats_dens_chisquare ( float $x , float $dfr ) : float
 Returns the probability density at x, where the random variable follows the chi-square distribution of which the degree of freedom is dfr. 
x
The value at which the probability density is calculated
dfr
The degree of freedom of the distribution
 The probability density at x or false for failure. 
    © 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-dens-chisquare.php