3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.41 ms | 1394 KiB | 13 Q