3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=1; $j=1; $n=18;// upto which no to be displayed while($i < $n) { if($j % 2 != 0) { echo "\t".$i."\t\t".($i+1)."\t\t".($i+2)."\n"; $i = $i+3; } else { echo $i."\t\t".($i+1)."\t\t".($i+2)."\t\t".($i+3)."\n"; $i = $i+4; } $j++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 19
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
Branch analysis from position: 4
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
Branch analysis from position: 4
filename:       /in/FmQiO
function name:  (null)
number of ops:  36
compiled vars:  !0 = $i, !1 = $j, !2 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN                                                   !2, 18
    5     3      > JMP                                                      ->33
    7     4    >   MOD                                              ~6      !1, 2
          5        IS_NOT_EQUAL                                             ~6, 0
          6      > JMPZ                                                     ~7, ->19
    9     7    >   CONCAT                                           ~8      '%09', !0
          8        CONCAT                                           ~9      ~8, '%09%09'
          9        ADD                                              ~10     !0, 1
         10        CONCAT                                           ~11     ~9, ~10
         11        CONCAT                                           ~12     ~11, '%09%09'
         12        ADD                                              ~13     !0, 2
         13        CONCAT                                           ~14     ~12, ~13
         14        CONCAT                                           ~15     ~14, '%0A'
         15        ECHO                                                     ~15
   10    16        ADD                                              ~16     !0, 3
         17        ASSIGN                                                   !0, ~16
         18      > JMP                                                      ->32
   14    19    >   CONCAT                                           ~18     !0, '%09%09'
         20        ADD                                              ~19     !0, 1
         21        CONCAT                                           ~20     ~18, ~19
         22        CONCAT                                           ~21     ~20, '%09%09'
         23        ADD                                              ~22     !0, 2
         24        CONCAT                                           ~23     ~21, ~22
         25        CONCAT                                           ~24     ~23, '%09%09'
         26        ADD                                              ~25     !0, 3
         27        CONCAT                                           ~26     ~24, ~25
         28        CONCAT                                           ~27     ~26, '%0A'
         29        ECHO                                                     ~27
   15    30        ADD                                              ~28     !0, 4
         31        ASSIGN                                                   !0, ~28
   17    32    >   PRE_INC                                                  !1
    5    33    >   IS_SMALLER                                               !0, !2
         34      > JMPNZ                                                    ~31, ->4
   18    35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.76 ms | 1386 KiB | 13 Q