3v4l.org

run code in 300+ PHP versions simultaneously
<?php $starttime='1899-12-30T16:30:00'; echo date('H:i:s', strtotime($starttime)); date_default_timezone_set('Europe/London'); $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/iamHf
function name:  (null)
number of ops:  22
compiled vars:  !0 = $starttime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1899-12-30T16%3A30%3A00'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'H%3Ai%3As'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    5     9        INIT_FCALL                                               'date_default_timezone_set'
         10        SEND_VAL                                                 'Europe%2FLondon'
         11        DO_ICALL                                                 
    6    12        ASSIGN                                                   !0, '1899-12-30T16%3A30%3A00'
    7    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'H%3Ai%3As'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                         $7      
         20        ECHO                                                     $7
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.93 ms | 1386 KiB | 19 Q