3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i <= 62; $i += 6) { $param1 = ($i+6) - 6; $param2 = $param1 + 6; if($param2 <= 60) { $param2 .= - 6; } echo "substr(".$param1.",".$param2.")<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 2
Branch analysis from position: 18
Branch analysis from position: 2
Branch analysis from position: 10
filename:       /in/ZohuJ
function name:  (null)
number of ops:  19
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                                                      ->16
    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        IS_SMALLER_OR_EQUAL                                      !2, 60
          8      > JMPZ                                                     ~9, ->10
    8     9    >   ASSIGN_OP                                     8          !2, -6
   11    10    >   CONCAT                                           ~11     'substr%28', !1
         11        CONCAT                                           ~12     ~11, '%2C'
         12        CONCAT                                           ~13     ~12, !2
         13        CONCAT                                           ~14     ~13, '%29%3Cbr%3E'
         14        ECHO                                                     ~14
    3    15        ASSIGN_OP                                     1          !0, 6
         16    >   IS_SMALLER_OR_EQUAL                                      !0, 62
         17      > JMPNZ                                                    ~16, ->2
   13    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.28 ms | 1398 KiB | 13 Q