idna2_decode
idna2_encode
idna2_error
idna2_from_utf8
idna2_labels
idna2_nameprep
idna2_punycode_decode
idna2_punycode_encode
idna2_test
idna2_to_ascii
idna2_to_unicode
idna2_to_utf8
IDNA2_CHECK_2008_LOOKUP
IDNA2_CHECK_2008_REGIST
IDNA2_CHECK_ASCII
IDNA2_CHECK_BIDI
IDNA2_CHECK_COMBINING
IDNA2_CHECK_CONTEXTJ
IDNA2_CHECK_CONTEXTO_LOOKUP
IDNA2_CHECK_CONTEXTO_REGIST
IDNA2_CHECK_HYPHEN
IDNA2_CHECK_HYPHEN34
IDNA2_CHECK_LDH
IDNA2_CHECK_LENGTH
IDNA2_CHECK_NFC
IDNA2_CHECK_PROHIBITED
IDNA2_CHECK_STD3
IDNA2_CHECK_UNASSIGNED
IDNA2_MAP_IDNA2003
IDNA2_MAP_IDNA2008
IDNA2_MAP_NAMEPREP
IDNA2_MAP_NFCLOWER
IDNA2_MAP_NFKC
IDNA2_MAP_PUNYCODE
idna2_decode(string $domain) : string
idna2_encode(string $domain) : string
idna2_error() : string | false
idna2_from_utf8(string $label) : array
idna2_labels(string $domain) : array
The IDNA label delimiters '.', U+3002, U+FF0E, U+FF61 are considered.
package | Default |
---|
string
array
idna2_nameprep(string $domain, boolean $allowUnassigned = false
) : string
package | Default |
---|
string
boolean
Whether to allow UNASSIGNED code points.
string
idna2_punycode_decode(string $label) : string | false
Note that strings are considered without the "xn--" prefix here.
This is the reverse of idna2_punycode_encode()
package | Default |
---|
string
Encoded ASCII label
string
false
idna2_punycode_encode(string $label) : string | false
Note that strings are considered without the "xn--" prefix here.
This is the reverse of idna2_punycode_decode()
package | Default |
---|
string
Unicode label
string
false
idna2_test(string $domain, integer $flags) : integer
idna2_to_ascii(string $domain, boolean $allowUnassigned= false
, boolean $useStd3Ascii= true
) : string
package | Default |
---|
string
boolean
Whether to allow UNASSIGNED code points.
boolean
Whether to apply Std3ASCII rules.
string
idna2_to_unicode(string $domain, boolean $allowUnassigned= false
, boolean $useStd3Ascii= true
) : string
package | Default |
---|
string
boolean
Whether to allow UNASSIGNED code points.
boolean
Whether to apply Std3ASCII rules.
string
idna2_to_utf8(array $codepoints) : string
This is the reverse of idna2_from_utf8().
package | Default |
---|---|
see |
array
An array of integers representing Unicode code points.
string
IDNA2_CHECK_2008_LOOKUP = 0
package | Default |
---|
IDNA2_CHECK_2008_REGIST = 0
package | Default |
---|
IDNA2_CHECK_CONTEXTO_REGIST = 0
package | Default |
---|
IDNA2_CHECK_HYPHEN = 0
package | Default |
---|
IDNA2_CHECK_HYPHEN34 = 0
package | Default |
---|
IDNA2_CHECK_LENGTH = 0
package | Default |
---|
IDNA2_MAP_NFCLOWER = 0
package | Default |
---|