3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.7 ms | 1394 KiB | 19 Q