3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 1 ; $i <= 4 ; $i++){ for($j = 1 ; $j <= 4-($i) ; $j ++){ echo "*"; } for ($k=1; $k <=4 ; $k++) { echo $k; } echo "<br />"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 11
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
Branch analysis from position: 2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 11
Branch analysis from position: 15
Branch analysis from position: 11
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
Branch analysis from position: 4
filename:       /in/cTSU6
function name:  (null)
number of ops:  20
compiled vars:  !0 = $i, !1 = $j, !2 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->17
    4     2    >   ASSIGN                                                   !1, 1
          3      > JMP                                                      ->6
    5     4    >   ECHO                                                     '%2A'
    4     5        PRE_INC                                                  !1
          6    >   SUB                                              ~6      4, !0
          7        IS_SMALLER_OR_EQUAL                                      !1, ~6
          8      > JMPNZ                                                    ~7, ->4
    7     9    >   ASSIGN                                                   !2, 1
         10      > JMP                                                      ->13
    8    11    >   ECHO                                                     !2
    7    12        PRE_INC                                                  !2
         13    >   IS_SMALLER_OR_EQUAL                                      !2, 4
         14      > JMPNZ                                                    ~10, ->11
   11    15    >   ECHO                                                     '%3Cbr+%2F%3E'
    3    16        PRE_INC                                                  !0
         17    >   IS_SMALLER_OR_EQUAL                                      !0, 4
         18      > JMPNZ                                                    ~12, ->2
   12    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.71 ms | 1394 KiB | 13 Q