function psi\getaddrinfo(string $node, string $service, array $hints, object &$res = NULL) : int {
let node = strval($node);
let service = strval($service);
function psi\getaddrinfo(string $node, string $service, array $hints, object &$res = NULL) : int {
let node = strval($node);
let service = strval($service);