3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 0; $j = 1; for($k=1;$k<=10;$k++){ $c = $i+$j; echo $c."<br>"; $i = $j; $j = $c; }
based on NDVEl
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0alpha1
1<br>2<br>3<br>5<br>8<br>13<br>21<br>34<br>55<br>89<br>