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=0; $b++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 4
Branch analysis from position: 16
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 = 16, Position 2 = 4
Branch analysis from position: 16
Branch analysis from position: 4
Branch analysis from position: 12
filename:       /in/rG8nF
function name:  (null)
number of ops:  17
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                                                      ->14
    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
    8     9        IS_EQUAL                                                 !0, 3
         10      > JMPZ                                                     ~10, ->12
    9    11    >   ASSIGN                                                   !0, 0
   10    12    >   PRE_INC                                                  !0
    4    13        PRE_INC                                                  !2
         14    >   IS_SMALLER_OR_EQUAL                                      !2, 5
         15      > JMPNZ                                                    ~14, ->4
   11    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.86 ms | 1393 KiB | 13 Q