ScotlandPHP 2016

PHP Manual

by:
Mehdi Achour
Friedhelm Betz
Antony Dovgal
Nuno Lopes
Hannes Magnusson
Georg Richter
Damien Seguy
Jakub Vrana
2011-06-24
Edited By: Philip Olson
add a note add a note

User Contributed Notes 1 note

up
0
newsforshopping at gmail dot com
2 hours ago
fibonacci series

<?php
$count
= 0 ;
$f1 = 0;
$f2 = 1;
echo
$f1." , ";
echo
$f2." , ";
while (
$count < 20 )
{
$f3 = $f2 + $f1 ;
echo
$f3." , ";
$f1 = $f2 ;
$f2 = $f3 ;
$count = $count + 1;
}
?>

http://newsforshopping.com
To Top