PHP » GoLang |
login |
register |
about
|
idn_to_utf8(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.2, PECL idn >= 0.1) idn_to_utf8 — Convert domain name from IDNA ASCII to Unicode DescriptionProcedural style
string idn_to_utf8
( string
$domain
[, int $options = IDNA_DEFAULT
[, int $variant = INTL_IDNA_VARIANT_2003
[, array &$idna_info
]]] )This function converts a Unicode domain name from an IDNA ASCII-compatible format to plain Unicode, encoded in UTF-8. Parameters
Return Values
The domain name in Unicode, encoded in UTF-8, or Changelog
ExamplesExample #1 idn_to_utf8() example
<?php The above example will output: täst.de |
more
Recently updated
more
Most requested
more
Last requests
|