3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new \DateTime(null, new \DateTimeZone('America/Adak'))); var_dump(new \DateTime(null, new \DateTimeZone('America/New_York')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/viM6L
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'DateTime'
          2        SEND_VAL_EX                                              null
          3        NEW                                              $1      'DateTimeZone'
          4        SEND_VAL_EX                                              'America%2FAdak'
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'var_dump'
         11        NEW                                              $5      'DateTime'
         12        SEND_VAL_EX                                              null
         13        NEW                                              $6      'DateTimeZone'
         14        SEND_VAL_EX                                              'America%2FNew_York'
         15        DO_FCALL                                      0          
         16        SEND_VAR_NO_REF_EX                                       $6
         17        DO_FCALL                                      0          
         18        SEND_VAR                                                 $5
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.07 ms | 1386 KiB | 15 Q