3v4l.org

run code in 300+ PHP versions simultaneously
<?php @ini_set('date.timezone', null); putenv('TZ="Australia/Sydney"'); echo date_default_timezone_get();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pg9d4
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~0      
          1        INIT_FCALL                                               'ini_set'
          2        SEND_VAL                                                 'date.timezone'
          3        SEND_VAL                                                 null
          4        DO_ICALL                                                 
          5        END_SILENCE                                              ~0
    4     6        INIT_FCALL                                               'putenv'
          7        SEND_VAL                                                 'TZ%3D%22Australia%2FSydney%22'
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'date_default_timezone_get'
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.38 ms | 1385 KiB | 19 Q