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 validateNetmask (string $netmask)
bool validateNetmask
Validates the syntax of a dot-quad formatted netmask. Returns true if netmask is valid, false if not.
This function can be called statically.