Skip to main content

validate_url

Function validate_url 

Source
pub fn validate_url(
    s: &[u8],
    flags: i64,
    parser: Option<&[u8]>,
) -> Result<bool, Error>
Expand description

php_filter_validate_url(): filter_var($s, FILTER_VALIDATE_URL, $flags) of a string, without the copy of the string it returns; Err for an invalid uri_parser_class.