function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {
let buffer = &NULL;
let host = strval($host);
let flags = intval($flags);
set $result = to_string(*buffer);
return to_int(idna_to_ascii_8z);
function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {
let buffer = &NULL;
let host = strval($host);
let flags = intval($flags);
set $result = to_string(*buffer);
return to_int(idna_to_ascii_8z);