3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("UTC"); echo "UTC:\t".time(); echo "\n"; date_default_timezone_set("Europe/Helsinki"); echo "Europe/Helsinki:\t".time(); echo "<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O5bjr
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'UTC'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'time'
          4        DO_ICALL                                         $1      
          5        CONCAT                                           ~2      'UTC%3A%09', $1
          6        ECHO                                                     ~2
    4     7        ECHO                                                     '%0A'
    6     8        INIT_FCALL                                               'date_default_timezone_set'
          9        SEND_VAL                                                 'Europe%2FHelsinki'
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'time'
         12        DO_ICALL                                         $4      
         13        CONCAT                                           ~5      'Europe%2FHelsinki%3A%09', $4
         14        ECHO                                                     ~5
    8    15        ECHO                                                     '%3Cbr%3E'
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.42 ms | 1394 KiB | 17 Q