3v4l.org

run code in 300+ PHP versions simultaneously
<?php $monthNum = '09'; $monthName = strtoupper(date('M', mktime(0, 0, 0, $monthNum, 10))); echo $monthName; echo strtoupper('12-Jun-2013');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8AlcD
function name:  (null)
number of ops:  22
compiled vars:  !0 = $monthNum, !1 = $monthName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '09'
    4     1        INIT_FCALL                                               'strtoupper'
          2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'M'
          4        INIT_FCALL                                               'mktime'
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 0
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 10
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                         $5      
         15        ASSIGN                                                   !1, $5
    5    16        ECHO                                                     !1
    6    17        INIT_FCALL                                               'strtoupper'
         18        SEND_VAL                                                 '12-Jun-2013'
         19        DO_ICALL                                         $7      
         20        ECHO                                                     $7
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.51 ms | 1386 KiB | 19 Q