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