3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i <= 62; $i += 6) { $count = $i - 6; $count2 = ($i+6) - 6; echo $count2."<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
filename:       /in/3uLv9
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i, !1 = $count, !2 = $count2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->10
    4     2    >   SUB                                              ~4      !0, 6
          3        ASSIGN                                                   !1, ~4
    5     4        ADD                                              ~6      !0, 6
          5        SUB                                              ~7      ~6, 6
          6        ASSIGN                                                   !2, ~7
    7     7        CONCAT                                           ~9      !2, '%3Cbr%3E'
          8        ECHO                                                     ~9
    3     9        ASSIGN_OP                                     1          !0, 6
         10    >   IS_SMALLER_OR_EQUAL                                      !0, 62
         11      > JMPNZ                                                    ~11, ->2
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.93 ms | 1393 KiB | 13 Q