intro.intl.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 93 行

HTML
93
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Introduction</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div 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; ICU</a>   library, enabling PHP programmers to perform UCA-conformant collation and   date/time/number/currency formatting in their scripts.  </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.    </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>  </ul>    <div id="intl.links" class="section">   <h2 class="title">Links</h2>   <ul class="itemizedlist">    <li class="listitem">     <p class="para"><a href="http://www.icu-project.org/docs/" class="link external">&raquo; Miscellaneous ICU docs</a></p>    </li>    <li class="listitem">     <p class="para"><a href="http://www.icu-project.org/userguide/" class="link external">&raquo; ICU User Guide</a></p>    </li>    <li class="listitem">     <p class="para"><a href="http://www.unicode.org/reports/tr10/" class="link external">&raquo; Unicode Collation Algorithm</a></p>    </li>   </ul>  </div>   </div><hr /><div 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>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?