Yes there is and its simple.
for ( $a = 0, $b = 1, $c = 0; <your cond>; $a = $b, $b = $c) { echo ($c = $a + $b)}output 1 1 2 3 5 8 13 21 34 ...
Yes there is and its simple.
for ( $a = 0, $b = 1, $c = 0; <your cond>; $a = $b, $b = $c) { echo ($c = $a + $b)}output 1 1 2 3 5 8 13 21 34 ...