3v4l.org

run code in 300+ PHP versions simultaneously
<?php // freitag = 5 for ($i=1; $i<8; $i++) { $neu = (1 + $i)%7; echo "\n-> 1 i:". $i." <->".$neu; }
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/8ERtf
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i, !1 = $neu
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->10
    6     2    >   ADD                                              ~3      1, !0
          3        MOD                                              ~4      ~3, 7
          4        ASSIGN                                                   !1, ~4
    7     5        CONCAT                                           ~6      '%0A-%3E+1++i%3A', !0
          6        CONCAT                                           ~7      ~6, '+%3C-%3E'
          7        CONCAT                                           ~8      ~7, !1
          8        ECHO                                                     ~8
    5     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 8
         11      > JMPNZ                                                    ~10, ->2
    8    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.36 ms | 1393 KiB | 13 Q