3v4l.org

run code in 300+ PHP versions simultaneously
<?php \Locale::setDefault('nl-NL'); var_dump(\Locale::getDisplayRegion('-NL', null)); var_dump(\Locale::getDisplayRegion('-NL', \Locale::getDefault()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eAigW
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'Locale', 'setDefault'
          1        SEND_VAL_EX                                              'nl-NL'
          2        DO_FCALL                                      0          
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_STATIC_METHOD_CALL                                  'Locale', 'getDisplayRegion'
          5        SEND_VAL_EX                                              '-NL'
          6        SEND_VAL_EX                                              null
          7        DO_FCALL                                      0  $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'var_dump'
         11        INIT_STATIC_METHOD_CALL                                  'Locale', 'getDisplayRegion'
         12        SEND_VAL_EX                                              '-NL'
         13        INIT_STATIC_METHOD_CALL                                  'Locale', 'getDefault'
         14        DO_FCALL                                      0  $3      
         15        SEND_VAR_NO_REF_EX                                       $3
         16        DO_FCALL                                      0  $4      
         17        SEND_VAR                                                 $4
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.03 ms | 1426 KiB | 14 Q