sanitize_iri

A wrapper for `filter_var($url, FILTER_SANITIZE_URL)` that can handle URLs with international characters (a.k.a. IRIs) Note: The returned value will still be an IRI, not a URL. To convert to URL, feed the result of this function to iri_to_url()
Parameters Summary
string $iri