3v4l.org

run code in 500+ PHP versions simultaneously
<?php $dateString = 'Thu Oct 03 2013 07:03:41 GMT+0200(Central Europe Standard Time)'; var_dump(\DateTime::createFromFormat('D M d Y H:i:s O', explode('(', $dateString)[0]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ivH4r
function name:  (null)
number of ops:  14
compiled vars:  !0 = $dateString
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'Thu+Oct+03+2013+07%3A03%3A41+GMT%2B0200%28Central+Europe+Standard+Time%29'
    3     1        INIT_FCALL                                                   'var_dump'
          2        INIT_STATIC_METHOD_CALL                                      'DateTime', 'createFromFormat'
          3        SEND_VAL                                                     'D+M+d+Y+H%3Ai%3As+O'
          4        INIT_FCALL                                                   'explode'
          5        SEND_VAL                                                     '%28'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $2      
          8        FETCH_DIM_R                                          ~3      $2, 0
          9        SEND_VAL                                                     ~3
         10        DO_FCALL                                          0  $4      
         11        SEND_VAR                                                     $4
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.4 ms | 3340 KiB | 15 Q