3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function fact($x) { if ($x == 0 || $x == 1) { return $x; } else { return $x * (fact($x - 1)); } } echo fact(14);
based on dkEOl
Output for 5.3.18 - 7.2.0
87178291200