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