3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 100; $i++) { factorial($i); } function factorial($number) { if ($number < 2) { return 1; } else { return ($number * factorial($number-1)); } }
Output for 4.3.0 - 7.2.0