3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '01-04-2014'; $a = explode('-',$input); $result = strftime("%b",mktime(0,0,0,$a[0])).''.$a[1]; echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oHc1v
function name:  (null)
number of ops:  23
compiled vars:  !0 = $input, !1 = $a, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '01-04-2014'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '-'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    6     6        INIT_FCALL                                               'strftime'
          7        SEND_VAL                                                 '%25b'
          8        INIT_FCALL                                               'mktime'
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 0
         12        FETCH_DIM_R                                      ~6      !1, 0
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                         $7      
         15        SEND_VAR                                                 $7
         16        DO_ICALL                                         $8      
         17        CONCAT                                           ~9      $8, ''
         18        FETCH_DIM_R                                      ~10     !1, 1
         19        CONCAT                                           ~11     ~9, ~10
         20        ASSIGN                                                   !2, ~11
    7    21        ECHO                                                     !2
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.49 ms | 1395 KiB | 19 Q