Print Fibonacci Series in PHP

A Fibonacci series is a sequence of number in which each number is sum of previous two numbers.It starts with a zero or a one ,followed by a one, and proceeds based on the rule that each number (called a Fibonacci number) is equal to the sum of the preceding two numbers.

Fibonacci Series looks like:

0 , 1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 ,

 

Add a Comment

Your email address will not be published. Required fields are marked *