Solar_Filter_SanitizeIpv4::sanitizeIpv4()

public string Solar_Filter_SanitizeIpv4::sanitizeIpv4 ( mixed $value )

Forces the value to an IPv4 address.

Parameters

  • (mixed) $value: The value to be sanitized.

Returns

  • (string) The sanitized value.

Description

Forces the value to an IPv4 address.



Local