3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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; } ?>
based on BAhuK
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
0 , 1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , 55 , 89 , 144 , 233 , 377 , 610 , 987 , 1597 , 2584 , 4181 , 6765 , 10946 ,