3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('date.timezone', 'Europe/London'); date('Y-m-d h:i:s Z', 1364691600); echo "\n"; ini_set('date.timezone', 'UTC'); date('Y-m-d h:i:s Z', 1364691600);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/emYUm
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'date.timezone'
          2        SEND_VAL                                                 'Europe%2FLondon'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d+h%3Ai%3As+Z'
          6        SEND_VAL                                                 1364691600
          7        DO_ICALL                                                 
    4     8        ECHO                                                     '%0A'
    5     9        INIT_FCALL                                               'ini_set'
         10        SEND_VAL                                                 'date.timezone'
         11        SEND_VAL                                                 'UTC'
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y-m-d+h%3Ai%3As+Z'
         15        SEND_VAL                                                 1364691600
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.99 ms | 1394 KiB | 17 Q