Function __global->inet_pton

Definitions

sources_custom/phpstub.php

  • Converts a human readable IP address to its packed in_addr representation.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$address string required parameter N/A N/A A human readable IPv4 or IPv6 address

Return

  • The in_addr representation of the given address (false: error)
  • Type: ~string
  • Set: N/A
  • Range: N/A