(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.
注: 本函数未在 Windows 平台下实现。
See also long2ip(), inet_pton(), and ip2long().