Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
IsoCodes
IP
PHP Class IsoCodes\IP
Inheritance:
implements
isocodes\IsoCodeInterface
显示文件
Open project: ronanguilloux/isocodes
Class Usage Examples
Public Methods
Method
Description
validate
(
string
$ipv4
) :
boolean
IPV4 public-only validator.
validateIPV6
(
string
$ipv6
) :
boolean
IPV6 validator.
Method Details
validate()
public
static
method
IPV4 public-only validator.
See link:
http://php.net/manual/fr/function.filter-var.php
public
static
validate
(
string
$ipv4
) :
boolean
$ipv4
string
return
boolean
validateIPV6()
public
static
method
IPV6 validator.
See link:
http://php.net/manual/fr/function.filter-var.php
public
static
validateIPV6
(
string
$ipv6
) :
boolean
$ipv6
string
return
boolean