<?php /* $Id: fibo.php,v 1.1 2001/05/06 03:07:33 doug Exp $ http://www.bagley.org/~doug/shootout/ */ function fibo($n){ return(($n < 2) ? 1 : fibo($n - 2) + fibo($n - 1)); } $n = ($argc == 2) ? $argv[1] : 1; $r = fibo($n); print "$r\n"; ?>