3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = array(); $inc = 1; for ($i=0; $i<6; $i++ ) { $month[]= $inc++; } print_r($month);
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/MPudf
function name:  (null)
number of ops:  14
compiled vars:  !0 = $month, !1 = $inc, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 1
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->8
    7     4    >   POST_INC                                         ~7      !1
          5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  ~7
    5     7        PRE_INC                                                  !2
          8    >   IS_SMALLER                                               !2, 6
          9      > JMPNZ                                                    ~9, ->4
   10    10    >   INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.33 ms | 1394 KiB | 15 Q