3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $j = 1; for($k=1;$k<=10;$k++){ $c = $i+$j; echo $c."<br>"; $i = $j; $j = $c; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/7oU1B
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i, !1 = $j, !2 = $k, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN                                                   !2, 1
          3      > JMP                                                      ->11
    5     4    >   ADD                                              ~7      !0, !1
          5        ASSIGN                                                   !3, ~7
    6     6        CONCAT                                           ~9      !3, '%3Cbr%3E'
          7        ECHO                                                     ~9
    7     8        ASSIGN                                                   !0, !1
    8     9        ASSIGN                                                   !1, !3
    4    10        PRE_INC                                                  !2
         11    >   IS_SMALLER_OR_EQUAL                                      !2, 10
         12      > JMPNZ                                                    ~13, ->4
    9    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.76 ms | 1397 KiB | 13 Q