3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $num = 5; $fact = 1; for ($i= 1; $i <= ($num -1) ; $i++) { $fact *= ($i +1); echo $fact; } echo $fact ; ?>
based on W61f6
Output for 4.3.0 - 7.3.0rc4
2624120120