3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i<=8;$i++){ $h = (8 - $i); echo $h; for($y = $h; $y==0; $y--){ echo '#'; } echo "\n"; }
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/1ltcb
function name:  (null)
number of ops:  16
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                                                      ->13
    3     2    >   SUB                                              ~4      8, !0
          3        ASSIGN                                                   !1, ~4
    4     4        ECHO                                                     !1
    5     5        ASSIGN                                                   !2, !1
          6      > JMP                                                      ->9
    6     7    >   ECHO                                                     '%23'
    5     8        PRE_DEC                                                  !2
          9    >   IS_EQUAL                                                 !2, 0
         10      > JMPNZ                                                    ~8, ->7
    8    11    >   ECHO                                                     '%0A'
    2    12        PRE_INC                                                  !0
         13    >   IS_SMALLER_OR_EQUAL                                      !0, 8
         14      > JMPNZ                                                    ~10, ->2
    9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.57 ms | 1394 KiB | 13 Q