3v4l.org

run code in 300+ PHP versions simultaneously
<?php $DateString = rawurldecode('Tue%20Oct%2015%202013%2001:00:00%20GMT+0100%20(BST)'); $DateString = substr(rawurldecode($DateString), 3, 21); echo $DateString; echo date('Y-m-d H:i:s', strtotime($DateString)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pfQlL
function name:  (null)
number of ops:  23
compiled vars:  !0 = $DateString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'rawurldecode'
          1        SEND_VAL                                                 'Tue%2520Oct%252015%25202013%252001%3A00%3A00%2520GMT%2B0100%2520%28BST%29'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    5     4        INIT_FCALL                                               'substr'
          5        INIT_FCALL                                               'rawurldecode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        SEND_VAL                                                 3
         10        SEND_VAL                                                 21
         11        DO_ICALL                                         $4      
         12        ASSIGN                                                   !0, $4
    7    13        ECHO                                                     !0
    8    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         16        INIT_FCALL                                               'strtotime'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $6      
         19        SEND_VAR                                                 $6
         20        DO_ICALL                                         $7      
         21        ECHO                                                     $7
    9    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.6 ms | 1395 KiB | 21 Q