7 function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {
9 let input = strval($host);
10 let flags = intval($flags);
11 set $result = to_string(*output);
12 return to_int(idna_to_ascii_8z);
16 function idn\strerror(int $rc) : string {
17 return to_string(idna_strerror);