3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=12; function getfibSeries ($n) { if ($n == 0) { return 0; } else if ($n == 1) { return 1; } else { return getfibSeries( $n - 1 ) + getfibSeries ( $n - 2 ); } } echo "the 9th term is " .getfibSeries($a) ; ?>
based on nAlOb
Output for 4.3.0 - 7.2.0
the 9th term is 144