3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.22 ms | 1394 KiB | 13 Q