3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( locale_accept_from_http("zh_TW"), locale_accept_from_http("zh_CN"), locale_accept_from_http("en_US") );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e7HJ4
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'
    4     1        INIT_FCALL_BY_NAME                                           'locale_accept_from_http'
          2        SEND_VAL_EX                                                  'zh_TW'
          3        DO_FCALL                                          0  $0      
          4        SEND_VAR                                                     $0
    5     5        INIT_FCALL_BY_NAME                                           'locale_accept_from_http'
          6        SEND_VAL_EX                                                  'zh_CN'
          7        DO_FCALL                                          0  $1      
          8        SEND_VAR                                                     $1
    6     9        INIT_FCALL_BY_NAME                                           'locale_accept_from_http'
         10        SEND_VAL_EX                                                  'en_US'
         11        DO_FCALL                                          0  $2      
         12        SEND_VAR                                                     $2
    3    13        DO_ICALL                                                     
    7    14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
142.8 ms | 2289 KiB | 14 Q