(PHP 7 >= 7.2.0)
socket_addrinfo_explain — Get information about addrinfo
$addr
) : arraysocket_addrinfo_explain() exposed the underlying addrinfo structure.
addr
Resource created from socket_addrinfo_lookup()
Returns an array containing the fields in the addrinfo structure.