3v4l.org

run code in 500+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Berlin'); $date = new Datetime('2018-05-01 12:15:03'); $date->setTimeZone(new DateTimeZone('UTC')); echo $date->format('H:i:s e T');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aP36J
function name:  (null)
number of ops:  18
compiled vars:  !0 = $date
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'date_default_timezone_set'
          1        SEND_VAL                                                     'Europe%2FBerlin'
          2        DO_ICALL                                                     
    5     3        NEW                                                  $2      'Datetime'
          4        SEND_VAL_EX                                                  '2018-05-01+12%3A15%3A03'
          5        DO_FCALL                                          0          
          6        ASSIGN                                                       !0, $2
    6     7        INIT_METHOD_CALL                                             !0, 'setTimeZone'
          8        NEW                                                  $5      'DateTimeZone'
          9        SEND_VAL_EX                                                  'UTC'
         10        DO_FCALL                                          0          
         11        SEND_VAR_NO_REF_EX                                           $5
         12        DO_FCALL                                          0          
    8    13        INIT_METHOD_CALL                                             !0, 'format'
         14        SEND_VAL_EX                                                  'H%3Ai%3As+e+T'
         15        DO_FCALL                                          0  $8      
         16        ECHO                                                         $8
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.67 ms | 2721 KiB | 9 Q