3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function fib($n){ if($n < 2) { return $n; } return fib($n-1)+fib($n-2); } echo fib(30);
Output for 4.3.0 - 7.1.10
832040