3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orig = 'FW VPN Questionnaire JéWéRET.msg'; var_dump(iconv("UTF-8", "ASCII//IGNORE", $orig)); var_dump(iconv("UTF-8", "ASCII//TRANSLIT", $orig)); mb_convert_encoding($orig, "ASCII", "UTF-8");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uNnQ3
function name:  (null)
number of ops:  23
compiled vars:  !0 = $orig
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'FW+VPN+Questionnaire+J%C3%83%C6%92%C3%82%C2%A9W%C3%83%C6%92%C3%82%C2%A9RET.msg'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL_BY_NAME                                       'iconv'
          3        SEND_VAL_EX                                              'UTF-8'
          4        SEND_VAL_EX                                              'ASCII%2F%2FIGNORE'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0  $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL_BY_NAME                                       'iconv'
         11        SEND_VAL_EX                                              'UTF-8'
         12        SEND_VAL_EX                                              'ASCII%2F%2FTRANSLIT'
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0  $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                                 
    7    17        INIT_FCALL                                               'mb_convert_encoding'
         18        SEND_VAR                                                 !0
         19        SEND_VAL                                                 'ASCII'
         20        SEND_VAL                                                 'UTF-8'
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.89 ms | 1395 KiB | 17 Q