3v4l.org

run code in 500+ PHP versions simultaneously
<?php for($i=-9;$i++<8;)echo join(str_repeat(' ',abs($i)),[1,2,3,4,5,6,7,8,9,0])."\r";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 2
Branch analysis from position: 18
Branch analysis from position: 2
filename:       /in/fDBQp
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, -9
          1      > JMP                                                          ->15
          2    >   INIT_FCALL                                                   'join'
          3        INIT_FCALL                                                   'str_repeat'
          4        SEND_VAL                                                     '+'
          5        INIT_FCALL                                                   'abs'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $2      
          8        SEND_VAR                                                     $2
          9        DO_ICALL                                             $3      
         10        SEND_VAR                                                     $3
         11        SEND_VAL                                                     <array>
         12        DO_ICALL                                             $4      
         13        CONCAT                                               ~5      $4, '%0D'
         14        ECHO                                                         ~5
         15    >   POST_INC                                             ~6      !0
         16        IS_SMALLER                                                   ~6, 8
         17      > JMPNZ                                                        ~7, ->2
         18    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
128.03 ms | 479 KiB | 10 Q