3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.17 ms | 1394 KiB | 13 Q