3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utc = new DateTimeZone('UTC'); $amla = new DateTimeZone('America/New_York'); $two_past_midnight = new DateTime('2016-13-05 19:00', $utc); $two_past_midnight->setTimeZone($amla); echo $two_past_midnight->format('T'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fVfsE
function name:  (null)
number of ops:  21
compiled vars:  !0 = $utc, !1 = $amla, !2 = $two_past_midnight
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'DateTimeZone'
          1        SEND_VAL_EX                                              'UTC'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    3     4        NEW                                              $6      'DateTimeZone'
          5        SEND_VAL_EX                                              'America%2FNew_York'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $6
    5     8        NEW                                              $9      'DateTime'
          9        SEND_VAL_EX                                              '2016-13-05+19%3A00'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0          
         12        ASSIGN                                                   !2, $9
    6    13        INIT_METHOD_CALL                                         !2, 'setTimeZone'
         14        SEND_VAR_EX                                              !1
         15        DO_FCALL                                      0          
    7    16        INIT_METHOD_CALL                                         !2, 'format'
         17        SEND_VAL_EX                                              'T'
         18        DO_FCALL                                      0  $13     
         19        ECHO                                                     $13
    8    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.66 ms | 1393 KiB | 13 Q