$normalize public property
Whether to add the CIDR prefix with the smallest length (32 for IPv4 and 128 for IPv6) to an address without it. Works only when subnet
is not false
. For example:
-
10.0.1.5
will normalized to10.0.1.5/32
-
2008:db0::1
will be normalized to2008:db0::1/128
Defaults tofalse
.
See also $subnet.
public boolean $normalize = false
Please login to continue.