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