3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; $n = 2; for($f = 0; $f <= 20; $f++) { echo "F".$f." = ".intval((($f-$i)+($f-$n)))."\n"; $i++; $n++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
Branch analysis from position: 4
filename:       /in/YEglp
function name:  (null)
number of ops:  19
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                                                      ->16
    5     4    >   CONCAT                                           ~6      'F', !2
          5        CONCAT                                           ~7      ~6, '+%3D+'
          6        SUB                                              ~8      !2, !0
          7        SUB                                              ~9      !2, !1
          8        ADD                                              ~10     ~8, ~9
          9        CAST                                          4  ~11     ~10
         10        CONCAT                                           ~12     ~7, ~11
         11        CONCAT                                           ~13     ~12, '%0A'
         12        ECHO                                                     ~13
    6    13        PRE_INC                                                  !0
    7    14        PRE_INC                                                  !1
    4    15        PRE_INC                                                  !2
         16    >   IS_SMALLER_OR_EQUAL                                      !2, 20
         17      > JMPNZ                                                    ~17, ->4
    8    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.17 ms | 1394 KiB | 13 Q