3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "123"; $i=0; $dynamic3var = 0; while($i < 10){ $label = "dynamic".$i."var"; if(isset(${"dynamic" . $i . "var"})) echo ${"dynamic" . $i . "var"}; $i ++; }; ?>
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 = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
Branch analysis from position: 4
Branch analysis from position: 15
filename:       /in/qt4Pn
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i, !1 = $dynamic3var, !2 = $label
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '123'
    4     1        ASSIGN                                                   !0, 0
    5     2        ASSIGN                                                   !1, 0
    6     3      > JMP                                                      ->16
    7     4    >   CONCAT                                           ~5      'dynamic', !0
          5        CONCAT                                           ~6      ~5, 'var'
          6        ASSIGN                                                   !2, ~6
    9     7        CONCAT                                           ~8      'dynamic', !0
          8        CONCAT                                           ~9      ~8, 'var'
          9        ISSET_ISEMPTY_VAR                             4          ~9
         10      > JMPZ                                                     ~10, ->15
   10    11    >   CONCAT                                           ~11     'dynamic', !0
         12        CONCAT                                           ~12     ~11, 'var'
         13        FETCH_R                      local               ~13     ~12
         14        ECHO                                                     ~13
   12    15    >   PRE_INC                                                  !0
    6    16    >   IS_SMALLER                                               !0, 10
         17      > JMPNZ                                                    ~15, ->4
   16    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.2 ms | 1393 KiB | 13 Q