IP4_ANON_CUT
IP4_ANON_CUT
Default number of rightmost segments in ip4 address to anonymize
Toolbox for IP address related functions
ipAnon(string $ip, array $params = null) : string
Anonymize a given IP address (ip4 or ip6)
string | $ip | The IP address to be anonymized. |
array | $params | Parameter: ip4cut / ip6cut = Number of rightmost segments in address to anonymize, ip4wildcard / ip6wildcard = character for substitution of anonymized parts |
anonymized IP.