mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-23 04:18:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
200 lines
5.9 KiB
XML
200 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<appendix xml:id="intl.constants" xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.intl-max-locale-len">
|
|
<term>
|
|
<constant>INTL_MAX_LOCALE_LEN</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Limit on locale length, set to 80 in PHP code. Locale names longer
|
|
than this limit will not be accepted.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-default">
|
|
<term>
|
|
<constant>IDNA_DEFAULT</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Prohibit processing of unassigned codepoints in the input for IDN
|
|
functions and do not check if the input conforms to domain name ASCII rules.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-allow-unassigned">
|
|
<term>
|
|
<constant>IDNA_ALLOW_UNASSIGNED</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Allow processing of unassigned codepoints in the input for IDN functions.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-use-std3-rules">
|
|
<term>
|
|
<constant>IDNA_USE_STD3_RULES</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Check if the input for IDN functions conforms to domain name ASCII rules.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-check-bidi">
|
|
<term>
|
|
<constant>IDNA_CHECK_BIDI</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Check whether the input conforms to the BiDi rules.
|
|
Ignored by the IDNA2003 implementation, which always performs this check.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-check-contextj">
|
|
<term>
|
|
<constant>IDNA_CHECK_CONTEXTJ</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Check whether the input conforms to the CONTEXTJ rules.
|
|
Ignored by the IDNA2003 implementation, as this check is new in IDNA2008.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-nontransitional-to-ascii">
|
|
<term>
|
|
<constant>IDNA_NONTRANSITIONAL_TO_ASCII</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Option for nontransitional processing in
|
|
<function>idn_to_ascii</function>. Transitional processing is activated
|
|
by default. This option is ignored by the IDNA2003 implementation.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-nontransitional-to-unicode">
|
|
<term>
|
|
<constant>IDNA_NONTRANSITIONAL_TO_UNICODE</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Option for nontransitional processing in
|
|
<function>idn_to_utf8</function>. Transitional processing is activated
|
|
by default. This option is ignored by the IDNA2003 implementation.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.intl-idna-variant-2003">
|
|
<term>
|
|
<constant>INTL_IDNA_VARIANT_2003</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Use IDNA 2003 algorithm in <function>idn_to_utf8</function> and
|
|
<function>idn_to_ascii</function>. This is the default.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.intl-idna-variant-uts46">
|
|
<term>
|
|
<constant>INTL_IDNA_VARIANT_UTS46</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Use UTS #46 algorithm in <function>idn_to_utf8</function> and
|
|
<function>idn_to_ascii</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.idna-error-empty-label">
|
|
<term>
|
|
<constant>IDNA_ERROR_EMPTY_LABEL</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_LABEL_TOO_LONG</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_DOMAIN_NAME_TOO_LONG</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_LEADING_HYPHEN</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_TRAILING_HYPHEN</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_HYPHEN_3_4</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_LEADING_COMBINING_MARK</constant>
|
|
(<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_DISALLOWED</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_PUNYCODE</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_LABEL_HAS_DOT</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_INVALID_ACE_LABEL</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_BIDI</constant> (<type>integer</type>)
|
|
</term>
|
|
<term>
|
|
<constant>IDNA_ERROR_CONTEXTJ</constant> (<type>integer</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Errors reported in a bitset returned by the UTS #46 algorithm in
|
|
<function>idn_to_utf8</function> and
|
|
<function>idn_to_ascii</function>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|