# PHP - Fibonacci Sequence

Posted by Oscaner on November 21, 2018

## 问题描述

 1 2 3 4 5 6 0 => 0 1 => 1 2 => 1 3 => 2 4 => 3 5 => 5

## 代码实现

 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1) { for ($i = 0;$i <= $argv[1];$i++) { echo $i . "\t=> " . fib($i) . "\n"; } }