3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("offset: %d\n", (new DateTime( "@".gmmktime(0,0,0,7,1,2011), new DateTimeZone( "CEST" ) ))->getOffset() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7A0NM
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 'offset%3A+%25d%0A'
          2        NEW                                              $0      'DateTime'
          3        INIT_FCALL                                               'gmmktime'
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 7
          8        SEND_VAL                                                 1
          9        SEND_VAL                                                 2011
         10        DO_ICALL                                         $1      
         11        CONCAT                                           ~2      '%40', $1
         12        SEND_VAL_EX                                              ~2
         13        NEW                                              $3      'DateTimeZone'
         14        SEND_VAL_EX                                              'CEST'
         15        DO_FCALL                                      0          
         16        SEND_VAR_NO_REF_EX                                       $3
         17        DO_FCALL                                      0          
         18        INIT_METHOD_CALL                                         $0, 'getOffset'
         19        DO_FCALL                                      0  $6      
         20        SEND_VAR                                                 $6
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.16 ms | 1395 KiB | 17 Q