3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'johnsnow@ヒキワリ.ナットウ.ニホン'; $email = idn_to_ascii($email); $email = str_replace('xn--', '', $email); echo $email; //echo "\n"; //$email = 'johnsnow@zoosk.com'; //$email = idn_to_ascii($email); //$email = str_replace('xn--', '', $email); //echo $email; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pOTVZ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $email
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'johnsnow%40%E3%83%92%E3%82%AD%E3%83%AF%E3%83%AA.%E3%83%8A%E3%83%83%E3%83%88%E3%82%A6.%E3%83%8B%E3%83%9B%E3%83%B3'
    4     1        INIT_FCALL_BY_NAME                                       'idn_to_ascii'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL                                               'str_replace'
          6        SEND_VAL                                                 'xn--'
          7        SEND_VAL                                                 ''
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    6    11        ECHO                                                     !0
   16    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.27 ms | 1386 KiB | 18 Q