3v4l.org

run code in 300+ PHP versions simultaneously
<?php $maildate = 'Tue, 17 Dec 2013 07:23:56 +0000'; $timestamp = strtotime($maildate); date_default_timezone_set("Asia/Calcutta"); echo date('r', $timestamp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FO11Y
function name:  (null)
number of ops:  14
compiled vars:  !0 = $maildate, !1 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Tue%2C+17+Dec+2013+07%3A23%3A56+%2B0000'
    3     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        INIT_FCALL                                               'date_default_timezone_set'
          6        SEND_VAL                                                 'Asia%2FCalcutta'
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        ECHO                                                     $6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
242.24 ms | 1011 KiB | 16 Q