inet_ntop

Example

 string inet_ntop ( string $in_addr ) 

Description

This function converts a 32bit IPv4, or 128bit IPv6 address (if PHP was built with IPv6 support enabled) into an address family appropriate string representation.

Return Values

Returns a string representation of the address or FALSE on failure.