inet_pton

  • (PHP 5 >= 5.1.0, PHP 7)
  • Converts a human readable IP address to its packed in_addr representation