HH\Lib\OS\inet_ntop
Convert an INET or INET6 address to presentation format
namespace HH\Lib\OS;
function inet_ntop(
AddressFamily $af,
dynamic $addr,
): string;
See man inet_ntop
Fails with:
EAFNOSUPPORTif the address family is not supportedEINVALif the address is the wrong type for the family
Parameters
AddressFamily $afdynamic $addr
Returns
string