3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = array(); $inc = 1; for ($i=6; $i>0; $i-- ) { $month[]= $inc++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
Branch analysis from position: 4
filename:       /in/FFKoA
function name:  (null)
number of ops:  11
compiled vars:  !0 = $month, !1 = $inc, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 1
    6     2        ASSIGN                                                   !2, 6
          3      > JMP                                                      ->8
    8     4    >   POST_INC                                         ~7      !1
          5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  ~7
    6     7        PRE_DEC                                                  !2
          8    >   IS_SMALLER                                               0, !2
          9      > JMPNZ                                                    ~9, ->4
    9    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.19 ms | 1393 KiB | 13 Q