previousNet_IPv4::validateIP() (Previous) (Next) Net_IPv4::parseAddress()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_IPv4::validateNetmask()

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

Synopsis

require_once 'Net/IPv4.php';

bool validateNetmask ( string $netmask )

Description

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

Note

This function can be called statically.

previousNet_IPv4::validateIP() (Previous) (Next) Net_IPv4::parseAddress()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.