pub fn validate_ip(s: &[u8], flags: i64) -> bool
php_filter_validate_ip(): whether filter_var($s, FILTER_VALIDATE_IP, $flags) of a string succeeds, without the copy of the string it returns.
php_filter_validate_ip()
filter_var($s, FILTER_VALIDATE_IP, $flags)