function factorial ($x)
{
if ($x > 1) {
$s = $x * factorial ($x - 1);
} else {
$s = $x;
}
return $s;
}
$x = 100;
echo $x."的阶乘的为".factorial($x);
function factorial ($x)
{
if ($x > 1) {
$s = $x * factorial ($x - 1);
} else {
$s = $x;
}
return $s;
}
$x = 100;
echo $x."的阶乘的为".factorial($x);