3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.71 ms | 1393 KiB | 13 Q