function f($a){ if ($a == 0 || $a == 1) { return 1; } return f($a-1) + f($a-2);}for($i = 0; $i < 10; $i++){ echo f($i).' ';}