3v4l.org

run code in 200+ 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 7.2.0
9.3326215443944E+157 Warning: Use of undefined constant PHP_MAX_INT - assumed 'PHP_MAX_INT' (this will throw an Error in a future version of PHP) in /in/992LK on line 7 PHP_MAX_INT
Output for 4.3.0 - 7.1.10
9.3326215443944E+157 Notice: Use of undefined constant PHP_MAX_INT - assumed 'PHP_MAX_INT' in /in/992LK on line 7 PHP_MAX_INT