Skip to main content

validate_ip

Function validate_ip 

Source
pub fn validate_ip(s: &[u8], flags: i64) -> bool
Expand description

php_filter_validate_ip(): whether filter_var($s, FILTER_VALIDATE_IP, $flags) of a string succeeds, without the copy of the string it returns.