Gen. partnerAlgotech

PHP function inet_ntop()

Converts a packed internet address to a human readable representation

|
September 11, 2019

Availability in versions: PHP 5.1.0

Converts a packed internet address to a human readable representation

Parameters

Parameter Data type Default value Note
$in_addr string not A 32bit IPv4, or 128bit IPv6 address.

Return values

string

|bool a string representation of the address or false on failure.

Other resources

Official inet-ntop documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.