Net_IPv6::checkIPv6()

Net_IPv6::checkIPv6() – Validation of IPv6 addresses

Synopsis

require_once 'Net/IPv6.php';

boolean Net_IPv6::checkIPv6 ( string $ip )

Description

Checks an IP for IPv6 compatibility.

Parameter

  • string $ip - the IP address to check

Return value

boolean - TRUE, if syntax is valid

Note

This function can be called statically.