parser/tests/0038/code.php
2022-11-30 00:43:37 +00:00

9 lines
109 B
PHP

<?php
function fib($n) {
if ($n < 2) {
return $n;
}
return fib($n - 1) + fib($n - 2);
}