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["Y"]; echo $result;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GtFvm
function name:  (null)
number of ops:  22
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        FETCH_DIM_R                                      ~9      !1, 'Y'
         18        CONCAT                                           ~10     $8, ~9
         19        ASSIGN                                                   !2, ~10
    7    20        ECHO                                                     !2
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.81 ms | 1395 KiB | 19 Q