3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.61 ms | 1398 KiB | 13 Q