inet_ntop_folly

inet_ntop() using the folly library

function inet_ntop_folly(
  string $in_addr,
): ?string;

Used for performance benchmarking.

Parameters

  • string $in_addr - A 32bit IPv4, or 128bit IPv6 address.

Returns

  • null|string - - Returns a string representation of the address.