3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.97 ms | 1394 KiB | 15 Q