3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($r = idn_to_ascii('www.sparkasse-gießen.de', IDNA_USE_STD3_RULES | IDNA_NONTRANSITIONAL_TO_ASCII , INTL_IDNA_VARIANT_UTS46, $info)); var_dump($info); var_dump(idn_to_utf8($r, IDNA_USE_STD3_RULES, INTL_IDNA_VARIANT_UTS46, $info)); var_dump($info);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XUK2U
function name:  (null)
number of ops:  32
compiled vars:  !0 = $r, !1 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL_BY_NAME                                       'idn_to_ascii'
          2        SEND_VAL_EX                                              'www.sparkasse-gie%C3%9Fen.de'
          3        FETCH_CONSTANT                                   ~2      'IDNA_USE_STD3_RULES'
          4        FETCH_CONSTANT                                   ~3      'IDNA_NONTRANSITIONAL_TO_ASCII'
          5        BW_OR                                            ~4      ~2, ~3
          6        SEND_VAL_EX                                              ~4
          7        FETCH_CONSTANT                                   ~5      'INTL_IDNA_VARIANT_UTS46'
          8        SEND_VAL_EX                                              ~5
          9        SEND_VAR_EX                                              !1
         10        DO_FCALL                                      0  $6      
         11        ASSIGN                                           ~7      !0, $6
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
    4    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
    6    17        INIT_FCALL                                               'var_dump'
         18        INIT_FCALL_BY_NAME                                       'idn_to_utf8'
         19        SEND_VAR_EX                                              !0
         20        FETCH_CONSTANT                                   ~10     'IDNA_USE_STD3_RULES'
         21        SEND_VAL_EX                                              ~10
         22        FETCH_CONSTANT                                   ~11     'INTL_IDNA_VARIANT_UTS46'
         23        SEND_VAL_EX                                              ~11
         24        SEND_VAR_EX                                              !1
         25        DO_FCALL                                      0  $12     
         26        SEND_VAR                                                 $12
         27        DO_ICALL                                                 
    7    28        INIT_FCALL                                               'var_dump'
         29        SEND_VAR                                                 !1
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.79 ms | 1396 KiB | 15 Q