function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {
let buffer = &NULL;
let host = strval($host);
function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {
let buffer = &NULL;
let host = strval($host);