validateIPV6() public static method

IPV6 validator.
public static validateIPV6 ( string $ipv6 ) : boolean
$ipv6 string
return boolean
示例#1
0
 /**
  * testInvalidIPV6s
  *
  * @param mixed $ip
  *
  * @dataProvider getInvalidIPV6s
  *
  * @return void
  */
 public function testInvalidIPV6s($ip)
 {
     $this->assertFalse(IP::validateIPV6($ip));
 }