$uri->unIdn()
Tries to convert a URL with an internationalized host name to the machine-readable Punycode representation
Return type
This method does not modify the existing $uri
object but returns a new object with the changes applied. Learn more →