3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentmonth = date('m');//good one $month = 0; //for ($int=1; $int<$currentmonth; $int++) //{ $mth=date("M", mktime(0, 0, 0,2)); echo $mth; // }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cZQEQ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $currentmonth, !1 = $month, !2 = $mth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'm'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        ASSIGN                                                   !1, 0
    7     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'M'
          7        INIT_FCALL                                               'mktime'
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !2, $7
    8    16        ECHO                                                     !2
    9    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.68 ms | 1394 KiB | 17 Q