PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'Net/IPv4.php';
bool validateIP (string $ip_addr)
bool validateIP
Validates the syntax of an IP address in dot-quad format. Returns true if address is valid, false if not.
This function can be called statically.