3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function f($n) { return $n?$n*f($n-1):1; } echo f(100); echo PHP_MAX_INT;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
9.3326215443944E+157 Notice: Use of undefined constant PHP_MAX_INT - assumed 'PHP_MAX_INT' in /in/992LK on line 7 PHP_MAX_INT