3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = IntlTimeZone::getUnknown()->getId(); var_dump($id); $region = IntlTimeZone::getRegion($id); var_dump($region); foreach (IntlTimeZone::createEnumeration($region) as $k => $v) var_dump($k, $v);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 26
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 26
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/qtPRt
function name:  (null)
number of ops:  28
compiled vars:  !0 = $id, !1 = $region, !2 = $v, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'IntlTimeZone', 'getUnknown'
          1        DO_FCALL                                      0  $4      
          2        INIT_METHOD_CALL                                         $4, 'getId'
          3        DO_FCALL                                      0  $5      
          4        ASSIGN                                                   !0, $5
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        INIT_STATIC_METHOD_CALL                                  'IntlTimeZone', 'getRegion'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $8      
         11        ASSIGN                                                   !1, $8
    6    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
    7    15        INIT_STATIC_METHOD_CALL                                  'IntlTimeZone', 'createEnumeration'
         16        SEND_VAR_EX                                              !1
         17        DO_FCALL                                      0  $11     
         18      > FE_RESET_R                                       $12     $11, ->26
         19    > > FE_FETCH_R                                       ~13     $12, !2, ->26
         20    >   ASSIGN                                                   !3, ~13
    8    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !3
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                                 
    7    25      > JMP                                                      ->19
         26    >   FE_FREE                                                  $12
    8    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.37 ms | 945 KiB | 14 Q