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, 19) . ':00'; 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/oAlkV
function name:  (null)
number of ops:  24
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                                                 19
         11        DO_ICALL                                         $4      
         12        CONCAT                                           ~5      $4, '%3A00'
         13        ASSIGN                                                   !0, ~5
    7    14        ECHO                                                     !0
    8    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        DO_ICALL                                         $8      
         22        ECHO                                                     $8
    9    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.28 ms | 1395 KiB | 21 Q