3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.93 ms | 1399 KiB | 15 Q