3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pubDate = 'Thu, 3 Oct 2013 11:15:06 +0100'; $date = new DateTime($pubDate); echo $date->format('r');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/45So8
function name:  (null)
number of ops:  10
compiled vars:  !0 = $pubDate, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Thu%2C+3+Oct+2013+11%3A15%3A06+%2B0100'
    4     1        NEW                                              $3      'DateTime'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    5     5        INIT_METHOD_CALL                                         !1, 'format'
          6        SEND_VAL_EX                                              'r'
          7        DO_FCALL                                      0  $6      
          8        ECHO                                                     $6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.65 ms | 1392 KiB | 13 Q