Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
IsoCodes
Mac
PHP Class IsoCodes\Mac
Author:
Sullivan Senechal (
[email protected]
)
Inheritance:
implements
isocodes\IsoCodeInterface
Afficher le fichier
Open project: ronanguilloux/isocodes
Class Usage Examples
Méthodes publiques
Méthode
Description
validate
(
string
$mac
) :
boolean
MAC address validator.
Method Details
validate()
public
static
méthode
Could be separated by hyphens or colons. Could be both lowercase or uppercase letters. Mixed upper/lower cases and hyphens/colons are not allowed.
See link:
http://en.wikipedia.org/wiki/MAC_address#Notational_conventions
public
static
validate
(
string
$mac
) :
boolean
$mac
string
Résultat
boolean