(PHP 5 >= 5.1.0RC1)
inet_ntop -- Converts a packed internet address to a human readable representationThis function converts a 32bit IPv4, or 128bit IPv6 address (if PHP was built with IPv6 support enabled) into an address family appropriate string representation. Returns FALSE on failure.
Note: This function is not implemented on Windows platforms.
See also long2ip(), inet_pton(), and ip2long().