3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.62 ms | 1395 KiB | 21 Q