3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'xn--sindmiregal-6o08j.ws'; $idnaInfo = []; $decoded = idn_to_utf8($string, 0, INTL_IDNA_VARIANT_UTS46, $idnaInfo); var_dump($decoded, $idnaInfo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GPkk2
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $idnaInfo, !2 = $decoded
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'xn--sindmiregal-6o08j.ws'
    4     1        ASSIGN                                                       !1, <array>
    5     2        INIT_FCALL_BY_NAME                                           'idn_to_utf8'
          3        SEND_VAR_EX                                                  !0
          4        SEND_VAL_EX                                                  0
          5        FETCH_CONSTANT                                       ~5      'INTL_IDNA_VARIANT_UTS46'
          6        SEND_VAL_EX                                                  ~5
          7        SEND_VAR_EX                                                  !1
          8        DO_FCALL                                          0  $6      
          9        ASSIGN                                                       !2, $6
    6    10        INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !2
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.27 ms | 2122 KiB | 14 Q