Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8458

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intl.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intl.examples.html">Examples</a></div>
 <div class="up"><a href="book.intl.html">intl</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intl.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="para">
  <dl>

   <dt id="constant.intl-max-locale-len">
    <span class="term">
     <strong><code>INTL_MAX_LOCALE_LEN</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Limit on locale length, set to 80 in PHP code. Locale names longer 
      than this limit will not be accepted.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-default">
    <span class="term">
     <strong><code>IDNA_DEFAULT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="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.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-allow-unassigned">
    <span class="term">
     <strong><code>IDNA_ALLOW_UNASSIGNED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Allow processing of unassigned codepoints in the input for IDN functions.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-use-std3-rules">
    <span class="term">
     <strong><code>IDNA_USE_STD3_RULES</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Check if the input for IDN functions conforms to domain name ASCII rules.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-check-bidi">
    <span class="term">
     <strong><code>IDNA_CHECK_BIDI</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Check whether the input conforms to the BiDi rules.
      Ignored by the IDNA2003 implementation, which always performs this check.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-check-contextj">
    <span class="term">
     <strong><code>IDNA_CHECK_CONTEXTJ</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Check whether the input conforms to the CONTEXTJ rules.
      Ignored by the IDNA2003 implementation, as this check is new in IDNA2008.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-nontransitional-to-ascii">
    <span class="term">
     <strong><code>IDNA_NONTRANSITIONAL_TO_ASCII</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Option for nontransitional processing in
       <span class="function"><a href="function.idn-to-ascii.html" class="function">idn_to_ascii()</a></span>. Transitional processing is activated
      by default. This option is ignored by the IDNA2003 implementation.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-nontransitional-to-unicode">
    <span class="term">
     <strong><code>IDNA_NONTRANSITIONAL_TO_UNICODE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Option for nontransitional processing in
       <span class="function"><a href="function.idn-to-utf8.html" class="function">idn_to_utf8()</a></span>. Transitional processing is activated
      by default. This option is ignored by the IDNA2003 implementation.
     </span>
    </dd>

   </dt>

   <dt id="constant.intl-idna-variant-2003">
    <span class="term">
     <strong><code>INTL_IDNA_VARIANT_2003</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Use IDNA 2003 algorithm in  <span class="function"><a href="function.idn-to-utf8.html" class="function">idn_to_utf8()</a></span> and
       <span class="function"><a href="function.idn-to-ascii.html" class="function">idn_to_ascii()</a></span>. This is the default.
     </span>
    </dd>

   </dt>

   <dt id="constant.intl-idna-variant-uts46">
    <span class="term">
     <strong><code>INTL_IDNA_VARIANT_UTS46</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Use UTS #46 algorithm in  <span class="function"><a href="function.idn-to-utf8.html" class="function">idn_to_utf8()</a></span> and
       <span class="function"><a href="function.idn-to-ascii.html" class="function">idn_to_ascii()</a></span>.
     </span>
    </dd>

   </dt>

   <dt id="constant.idna-error-empty-label">
    <span class="term">
     <strong><code>IDNA_ERROR_EMPTY_LABEL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_LABEL_TOO_LONG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_DOMAIN_NAME_TOO_LONG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_LEADING_HYPHEN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_TRAILING_HYPHEN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_HYPHEN_3_4</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_LEADING_COMBINING_MARK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_DISALLOWED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_PUNYCODE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_LABEL_HAS_DOT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_INVALID_ACE_LABEL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_BIDI</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <br /><span class="term">
     <strong><code>IDNA_ERROR_CONTEXTJ</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Errors reported in a bitset returned by the UTS #46 algorithm in
       <span class="function"><a href="function.idn-to-utf8.html" class="function">idn_to_utf8()</a></span> and
       <span class="function"><a href="function.idn-to-ascii.html" class="function">idn_to_ascii()</a></span>.
     </span>
    </dd>

   </dt>

  </dl>

 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intl.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intl.examples.html">Examples</a></div>
 <div class="up"><a href="book.intl.html">intl</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>