3v4l.org

run code in 300+ PHP versions simultaneously
<?php $months = array(); for ($i = 1; $i <= 12; $i++) { $datetime = \DateTime::createFromFormat('!m', $i); $months[$i] = $formatter->format($datetime); } return $months;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/4bFFr
function name:  (null)
number of ops:  18
compiled vars:  !0 = $months, !1 = $i, !2 = $datetime, !3 = $formatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->14
    5     3    >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          4        SEND_VAL                                                 '%21m'
          5        SEND_VAR                                                 !1
          6        DO_FCALL                                      0  $6      
          7        ASSIGN                                                   !2, $6
    6     8        INIT_METHOD_CALL                                         !3, 'format'
          9        SEND_VAR_EX                                              !2
         10        DO_FCALL                                      0  $9      
         11        ASSIGN_DIM                                               !0, !1
         12        OP_DATA                                                  $9
    4    13        PRE_INC                                                  !1
         14    >   IS_SMALLER_OR_EQUAL                                      !1, 12
         15      > JMPNZ                                                    ~11, ->3
    8    16    > > RETURN                                                   !0
         17*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.42 ms | 1394 KiB | 13 Q