(PECL getdns >= 0.10.0)
php_getdns_convert_ulabel_to_alabel — Convert an Internationalized Domain Name from U-label format to A-label format.
$string
)This function converts an input string in Internationalized Domain Name (IDN) U-label format to IDN A-label format. See » RFC 5890 for a description of the IDN label formats.
string
A string representing an IDN in U-label format.
This function returns a string representing an IDN in A-label format. NULL is returned if any conversion or memory allocation errors are encountered.