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.

Net_IPv6 (Previous) compress an IPv6 address (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.