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($$label)) echo $$label; $i ++; }; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
Branch analysis from position: 4
Branch analysis from position: 11
filename:       /in/t2uLg
function name:  (null)
number of ops:  15
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                                                      ->12
    7     4    >   CONCAT                                           ~5      'dynamic', !0
          5        CONCAT                                           ~6      ~5, 'var'
          6        ASSIGN                                                   !2, ~6
    9     7        ISSET_ISEMPTY_VAR                             4          !2
          8      > JMPZ                                                     ~8, ->11
   10     9    >   FETCH_R                      local               ~9      !2
         10        ECHO                                                     ~9
   12    11    >   PRE_INC                                                  !0
    6    12    >   IS_SMALLER                                               !0, 10
         13      > JMPNZ                                                    ~11, ->4
   16    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.84 ms | 1393 KiB | 13 Q