3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('date.timezone', 'Europe/Prague'); $dt = new DateTime('2014-03-29 12:00:00', new DateTimeZone('Europe/Prague')); $dt_t = $dt->format('U'); echo $dt->format('c').' '.date('c', $dt_t)."\r\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oN6eL
function name:  (null)
number of ops:  28
compiled vars:  !0 = $dt, !1 = $dt_t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'date.timezone'
          2        SEND_VAL                                                 'Europe%2FPrague'
          3        DO_ICALL                                                 
    3     4        NEW                                              $3      'DateTime'
          5        SEND_VAL_EX                                              '2014-03-29+12%3A00%3A00'
          6        NEW                                              $4      'DateTimeZone'
          7        SEND_VAL_EX                                              'Europe%2FPrague'
          8        DO_FCALL                                      0          
          9        SEND_VAR_NO_REF_EX                                       $4
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !0, $3
    4    12        INIT_METHOD_CALL                                         !0, 'format'
         13        SEND_VAL_EX                                              'U'
         14        DO_FCALL                                      0  $8      
         15        ASSIGN                                                   !1, $8
    5    16        INIT_METHOD_CALL                                         !0, 'format'
         17        SEND_VAL_EX                                              'c'
         18        DO_FCALL                                      0  $10     
         19        CONCAT                                           ~11     $10, '+'
         20        INIT_FCALL                                               'date'
         21        SEND_VAL                                                 'c'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $12     
         24        CONCAT                                           ~13     ~11, $12
         25        CONCAT                                           ~14     ~13, '%0D%0A'
         26        ECHO                                                     ~14
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.58 ms | 1395 KiB | 17 Q