3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.77 ms | 1394 KiB | 13 Q