Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 9160

php-manual-en-7.2.11-1.mga7.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>Introduction</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.intl.html">intl</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intl.setup.html">Installing/Configuring</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="intro.intl" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   Internationalization extension (further is referred as Intl) is a wrapper
   for <a href="http://www.icu-project.org/" class="link external">&raquo;&nbsp;ICU</a>
   library, enabling PHP programmers to perform various locale-aware operations including
   but not limited to formatting, transliteration, encoding conversion, calendar operations,
   <a href="http://www.unicode.org/reports/tr10/" class="link external">&raquo;&nbsp;UCA</a>-conformant collation, locating
   text boundaries and working with locale identifiers, timezones and graphemes,
  </p>

  <p class="para">
   It tends to closely follow ICU APIs, so that people having experience
   working with ICU in either C/C++ or Java could easily use the PHP API.
   Also, this way ICU documentation would be useful to understand various ICU
   functions.
  </p>

  <p class="para">
   Intl consists of several modules, each of them exposes the corresponding
   ICU API:
  </p>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     Collator: provides string comparison capability with support for
     appropriate locale-sensitive sort orderings.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Number Formatter: allows to display number according to the localized
     format or given pattern or set of rules, and to parse strings into
     numbers.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Message Formatter: allows to create messages incorporating data (such
     as numbers or dates) formatted according to given pattern and locale
     rules, and parse messages extracting data from them. It can handle plurals,
     locale-aware numbers, currencies, conditions and much more.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Normalizer: provides a function to transform text into one of the Unicode
     normalization forms, and provides a routine to test if a given string is
     already normalized.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Locale: provides interaction with locale identifiers in the form of
     functions to get subtags from locale identifier; parse, compose,
     match(lookup and filter) locale identifiers.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Calendar: provides a class which could be used for locale-aware calendar operations
     and getting various information such as timezone for locale chosen, first day of week
     or if it&#039;s daylight saving time now.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Timezone: provides a wrapper around the <a href="http://www.iana.org/time-zones" class="link external">&raquo;&nbsp;&quot;Olson&quot; database</a>
     which has information about all the timezones around the world.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Date formatter: allows to display date and time according to the localized
     format or given pattern or set of rules, and to parse strings into
     date and time.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Transliterator: allows getting latin representation of strings in various languages.
    </span>
   </li>
  </ul>

  
  <div class="section" id="intl.links">
   <h2 class="title">Links</h2>
   <ul class="itemizedlist">
    <li class="listitem">
     <p class="para"><a href="http://site.icu-project.org/docs/" class="link external">&raquo;&nbsp;Miscellaneous ICU docs</a></p>
    </li>
    <li class="listitem">
     <p class="para"><a href="http://www.icu-project.org/userguide/" class="link external">&raquo;&nbsp;ICU User Guide</a></p>
    </li>
    <li class="listitem">
     <p class="para"><a href="http://www.unicode.org/reports/tr10/" class="link external">&raquo;&nbsp;Unicode Collation Algorithm</a></p>
    </li>
   </ul>
  </div>
  

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.intl.html">intl</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intl.setup.html">Installing/Configuring</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>