3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentmonth = date('m');//good one $montharray=['Jan', 'Feb', 'Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov', 'Dec']; $month = 0; for ($int=1; $int<$currentmonth; $int++) { $mth=$montharray[$int]; echo $mth; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 8
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 8
Branch analysis from position: 14
Branch analysis from position: 8
filename:       /in/9gd0L
function name:  (null)
number of ops:  15
compiled vars:  !0 = $currentmonth, !1 = $montharray, !2 = $month, !3 = $int, !4 = $mth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'm'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    3     4        ASSIGN                                                   !1, <array>
    6     5        ASSIGN                                                   !2, 0
    7     6        ASSIGN                                                   !3, 1
          7      > JMP                                                      ->12
    9     8    >   FETCH_DIM_R                                      ~10     !1, !3
          9        ASSIGN                                                   !4, ~10
   10    10        ECHO                                                     !4
    7    11        PRE_INC                                                  !3
         12    >   IS_SMALLER                                               !3, !0
         13      > JMPNZ                                                    ~13, ->8
   11    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.53 ms | 1394 KiB | 15 Q