3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo factorial(3); function factorial(int $extent, int $currentValue = 1, int $step = 1): int { $currentValue *= $step; if ($step < $extent) { $step++; return factorial($extent, $step); } return $currentValue; }

Abusive script

This script was stopped while abusing our resources

Output for 7.0.31 - 7.2.9

Process exited with code 137.