3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/Lower_Princes'); echo strtotime("2018-10-28 01:00:00 Europe/London") . PHP_EOL; date_default_timezone_set('Europe/London'); echo strtotime("2018-10-28 01:00:00 Europe/London"). PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NEBOD
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'America%2FLower_Princes'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2018-10-28+01%3A00%3A00+Europe%2FLondon'
          5        DO_ICALL                                         $1      
          6        CONCAT                                           ~2      $1, '%0A'
          7        ECHO                                                     ~2
    6     8        INIT_FCALL                                               'date_default_timezone_set'
          9        SEND_VAL                                                 'Europe%2FLondon'
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '2018-10-28+01%3A00%3A00+Europe%2FLondon'
         13        DO_ICALL                                         $4      
         14        CONCAT                                           ~5      $4, '%0A'
         15        ECHO                                                     ~5
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.62 ms | 1010 KiB | 15 Q