3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo Math(90); function Math($x) { if ($x == 1) { return 2; } else { return (2 * $x) + math($x-1); } }
based on 1bq0s
Output for 4.3.0 - 7.3.1
8190