3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); $starttime='1899-12-30T16:30:00'; echo date('H:i:s', strtotime($starttime)); date_default_timezone_set('America/NewYork'); $starttime='1899-12-30T16:30:00'; echo date('H:i:s', strtotime($starttime));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YGUSP
function name:  (null)
number of ops:  25
compiled vars:  !0 = $starttime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FLondon'
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, '1899-12-30T16%3A30%3A00'
    4     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'H%3Ai%3As'
          6        INIT_FCALL                                               'strtotime'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
    6    12        INIT_FCALL                                               'date_default_timezone_set'
         13        SEND_VAL                                                 'America%2FNewYork'
         14        DO_ICALL                                                 
    7    15        ASSIGN                                                   !0, '1899-12-30T16%3A30%3A00'
    8    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'H%3Ai%3As'
         18        INIT_FCALL                                               'strtotime'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $7      
         21        SEND_VAR                                                 $7
         22        DO_ICALL                                         $8      
         23        ECHO                                                     $8
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.69 ms | 1395 KiB | 19 Q