Overview
Classes
Interfaces
Functions
Exceptions
Function
\
iri_to_url
iri_to_url
Converts a URL with international characters (an IRI) into a pure ASCII URL Uses Punycode to encode any non-ASCII characters in the domain name, and uses standard URL encoding on the rest.
Open source code
Parameters Summary
string
$iri