3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datestring = "November 16, 2013"; //$date = DateTime::createFromFormat("MMM dd , yyyy",$datestring); $date = Date("M d, Y"); var_dump($date); $datetime = strtotime($datestring); var_dump(date('M',$datetime));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7574X
function name:  (null)
number of ops:  20
compiled vars:  !0 = $datestring, !1 = $date, !2 = $datetime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'November+16%2C+2013'
    6     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'M+d%2C+Y'
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
   10     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
   12    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'M'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                         $9      
         17        SEND_VAR                                                 $9
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.69 ms | 1395 KiB | 19 Q