(PECL stats >= 1.0.0)
stats_stat_factorial — Returns the factorial of an integer
stats_stat_factorial(int $n): float
Returns the factorial of an integer, n.
nAn integer
The factorial of n.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-stat-factorial.php