Net_IPv4::validateNetmask()

Net_IPv4::validateNetmask() -- Validate the syntax of the given netmask.

Synopsis

require_once 'Net/IPv4.php';

bool validateNetmask (string $netmask)

Beschreibung

Validates the syntax of a dot-quad formatted netmask. Returns true if netmask is valid, false if not.

Hinweise

Diese Methode kann statisch aufgerufen werden.