10 function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {
12 let input = strval($host);
13 let flags = intval($flags);
14 set $result = to_string(*output);
15 return to_int(idna_to_ascii_8z);
19 function idn\strerror(int $rc) : string {
20 return to_string(idna_strerror);