Predefined Constants
-
INTL_MAX_LOCALE_LEN
(integer) - Limit on locale length, set to 80 in PHP code. Locale names longer than this limit will not be accepted.
-
IDNA_DEFAULT
(integer) - Prohibit processing of unassigned codepoints in the input for IDN functions and do not check if the input conforms to domain name ASCII rules.
-
IDNA_ALLOW_UNASSIGNED
(integer) - Allow processing of unassigned codepoints in the input for IDN functions.
-
IDNA_USE_STD3_RULES
(integer) - Check if the input for IDN functions conforms to domain name ASCII rules.
-
IDNA_CHECK_BIDI
(integer) - Check whether the input conforms to the BiDi rules. Ignored by the IDNA2003 implementation, which always performs this check.
-
IDNA_CHECK_CONTEXTJ
(integer) - Check whether the input conforms to the CONTEXTJ rules. Ignored by the IDNA2003 implementation, as this check is new in IDNA2008.
-
IDNA_NONTRANSITIONAL_TO_ASCII
(integer) - Option for nontransitional processing in idn_to_ascii(). Transitional processing is activated by default. This option is ignored by the IDNA2003 implementation.
-
IDNA_NONTRANSITIONAL_TO_UNICODE
(integer) - Option for nontransitional processing in idn_to_utf8(). Transitional processing is activated by default. This option is ignored by the IDNA2003 implementation.
-
INTL_IDNA_VARIANT_2003
(integer) - Use IDNA 2003 algorithm in idn_to_utf8() and idn_to_ascii(). This is the default. This constant and using the default has been deprecated as of PHP 7.2.0.
-
INTL_IDNA_VARIANT_UTS46
(integer) - Use UTS #46 algorithm in idn_to_utf8() and idn_to_ascii(). Available as of ICU 4.6.
-
IDNA_ERROR_EMPTY_LABEL
(integer) -
IDNA_ERROR_LABEL_TOO_LONG
(integer) -
IDNA_ERROR_DOMAIN_NAME_TOO_LONG
(integer) -
IDNA_ERROR_LEADING_HYPHEN
(integer) -
IDNA_ERROR_TRAILING_HYPHEN
(integer) -
IDNA_ERROR_HYPHEN_3_4
(integer) -
IDNA_ERROR_LEADING_COMBINING_MARK
(integer) -
IDNA_ERROR_DISALLOWED
(integer) -
IDNA_ERROR_PUNYCODE
(integer) -
IDNA_ERROR_LABEL_HAS_DOT
(integer) -
IDNA_ERROR_INVALID_ACE_LABEL
(integer) -
IDNA_ERROR_BIDI
(integer) -
IDNA_ERROR_CONTEXTJ
(integer) - Errors reported in a bitset returned by the UTS #46 algorithm in idn_to_utf8() and idn_to_ascii().
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-intl.constants.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.