3v4l.org

run code in 500+ PHP versions simultaneously
<?php $input = '01-04-2014'; $a = explode('-',$input); $result = strftime("%b",mktime(0,0,0,$a[0])).' '.intval($a[1]); echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/80MTp
function name:  (null)
number of ops:  24
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_FCALL_BY_NAME                                             
         17        CONCAT                                               ~9      $8, '+'
         18        FETCH_DIM_R                                          ~10     !1, 1
         19        CAST                                              4  ~11     ~10
         20        CONCAT                                               ~12     ~9, ~11
         21        ASSIGN                                                       !2, ~12
    7    22        ECHO                                                         !2
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.93 ms | 2943 KiB | 16 Q