HH\Lib\OS\inet_ntop_inet6
Requires the Hack Standard Library - Experimental Additions to be installed.
Convert an INET6 (IPv6) address from network format to presentation (colon) format
namespace HH\Lib\OS;
function inet_ntop_inet6(
in6_addr $addr,
): string;
See man inet_ntop
Parameters
in6_addr $addr
Returns
string