3v4l.org

run code in 300+ PHP versions simultaneously
<?php $items = 23; $kactaBirReklam = 5; for($i = 1; $i <= $items; $i++) { echo "item $i <br>"; if ($i % $kactaBirReklam == 0) { echo '<br> Reklam alanı <br><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 = 4
Branch analysis from position: 15
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 = 15, Position 2 = 4
Branch analysis from position: 15
Branch analysis from position: 4
Branch analysis from position: 12
filename:       /in/Xjv9N
function name:  (null)
number of ops:  16
compiled vars:  !0 = $items, !1 = $kactaBirReklam, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 23
    4     1        ASSIGN                                                   !1, 5
    6     2        ASSIGN                                                   !2, 1
          3      > JMP                                                      ->13
    7     4    >   ROPE_INIT                                     3  ~7      'item+'
          5        ROPE_ADD                                      1  ~7      ~7, !2
          6        ROPE_END                                      2  ~6      ~7, '+%3Cbr%3E'
          7        ECHO                                                     ~6
    8     8        MOD                                              ~9      !2, !1
          9        IS_EQUAL                                                 ~9, 0
         10      > JMPZ                                                     ~10, ->12
    9    11    >   ECHO                                                     '%3Cbr%3E+Reklam+alan%C4%B1+%3Cbr%3E%3Cbr%3E'
    6    12    >   PRE_INC                                                  !2
         13    >   IS_SMALLER_OR_EQUAL                                      !2, !0
         14      > JMPNZ                                                    ~12, ->4
   11    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.98 ms | 989 KiB | 13 Q