3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=1; $j=1; if($j % 2 != 0) echo "\t".$i."\t".($i+1)."\t".($i+2); else echo $i."\t".($i+1)."\t".($i+2)."\t".($i+3);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EIQMg
function name:  (null)
number of ops:  25
compiled vars:  !0 = $i, !1 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, 1
    5     2        MOD                                              ~4      !1, 2
          3        IS_NOT_EQUAL                                             ~4, 0
          4      > JMPZ                                                     ~5, ->14
    6     5    >   CONCAT                                           ~6      '%09', !0
          6        CONCAT                                           ~7      ~6, '%09'
          7        ADD                                              ~8      !0, 1
          8        CONCAT                                           ~9      ~7, ~8
          9        CONCAT                                           ~10     ~9, '%09'
         10        ADD                                              ~11     !0, 2
         11        CONCAT                                           ~12     ~10, ~11
         12        ECHO                                                     ~12
         13      > JMP                                                      ->24
    8    14    >   CONCAT                                           ~13     !0, '%09'
         15        ADD                                              ~14     !0, 1
         16        CONCAT                                           ~15     ~13, ~14
         17        CONCAT                                           ~16     ~15, '%09'
         18        ADD                                              ~17     !0, 2
         19        CONCAT                                           ~18     ~16, ~17
         20        CONCAT                                           ~19     ~18, '%09'
         21        ADD                                              ~20     !0, 3
         22        CONCAT                                           ~21     ~19, ~20
         23        ECHO                                                     ~21
         24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.85 ms | 1394 KiB | 13 Q