convert_to_idn
convert_to_dn($domain); - convert domain to IDN type (for example, domain.RF -> xn--d1acufc.xn--p1ai ). Available from version 4.10.10
The function accepts parameters as input:
$domain – the domain to convert
After testing, the function returns the result of its work to the script :
IDN domain – domain reduced to the IDN form