3v4l.org

run code in 300+ PHP versions simultaneously
<?php $starttime='1899-12-30T16:30:00'; echo date('H:i:s', strtotime($starttime)); echo '<br />'; date_default_timezone_set('USA/New York'); $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/SCVJC
function name:  (null)
number of ops:  23
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        ECHO                                                     '%3Cbr+%2F%3E'
    7    10        INIT_FCALL                                               'date_default_timezone_set'
         11        SEND_VAL                                                 'USA%2FNew+York'
         12        DO_ICALL                                                 
    8    13        ASSIGN                                                   !0, '1899-12-30T16%3A30%3A00'
    9    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 '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
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
303.22 ms | 1395 KiB | 20 Q