3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.15 ms | 1394 KiB | 15 Q