3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("date.timezone", ''); var_dump(ini_get("date.timezone")); var_dump(date_default_timezone_get());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DUqTa
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'date.timezone'
          2        SEND_VAL                                                 ''
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'ini_get'
          6        SEND_VAL                                                 'date.timezone'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'date_default_timezone_get'
         12        DO_ICALL                                         $3      
         13        SEND_VAR                                                 $3
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.01 ms | 1439 KiB | 17 Q