cvs: phpdoc-ru /reference/strings/functions convert-uudecode.xml convert-uuencode.xml htmlspecialchars-decode.xml strpbrk.xml

From: Date: Sat, 21 May 2005 16:55:18 +0000
Subject: cvs: phpdoc-ru /reference/strings/functions convert-uudecode.xml convert-uuencode.xml htmlspecialchars-decode.xml strpbrk.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-672@lists.php.net to get a copy of this message
sveta Sat May 21 12:55:18 2005 EDT Added files: /phpdoc-ru/reference/strings/functions convert-uudecode.xml convert-uuencode.xml htmlspecialchars-decode.xml strpbrk.xml Log: new translations by Alexander Finn

http://cvs.php.net/co.php/phpdoc-ru/reference/strings/functions/convert-uudecode.xml?r=1.1&p=1 Index: phpdoc-ru/reference/strings/functions/convert-uudecode.xml +++ phpdoc-ru/reference/strings/functions/convert-uudecode.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry id="function.convert-uudecode"> <refnamediv> <refname>convert_uudecode</refname> <refpurpose> Преобразует строку из формата uuencode в обычный вид </refpurpose> </refnamediv> <refsect1> <title>Описание</title> <methodsynopsis> <type>string</type><methodname>convert_uudecode</methodname> <methodparam><type>string</type><parameter>data</parameter></methodparam> </methodsynopsis> <para> <function>convert_uudecode</function> преобразует строку <parameter>data</parameter> из формата uuencode в обычный вид. </para> <para> <example> <title>Пример использования функции <function>convert_uudecode</function></title> <programlisting role="php"> <![CDATA[ <?php /* Догадаетесь, что выведет этот код? :) */ echo convert_uudecode("+22!L;W9E(%!(4\"$`\n`"); ?> ]]> </programlisting> </example> </para> <para> См. также <function>convert_uuencode</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-ru/reference/strings/functions/convert-uuencode.xml?r=1.1&p=1 Index: phpdoc-ru/reference/strings/functions/convert-uuencode.xml +++ phpdoc-ru/reference/strings/functions/convert-uuencode.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry id="function.convert-uuencode"> <refnamediv> <refname>convert_uuencode</refname> <refpurpose> Преобразует строку в формат uuencode </refpurpose> </refnamediv> <refsect1> <title>Описание</title> <methodsynopsis> <type>string</type><methodname>convert_uuencode</methodname> <methodparam><type>string</type><parameter>data</parameter></methodparam> </methodsynopsis> <para> <function>convert_uuencode</function> преобразует строку <parameter>data</parameter> в формат uuencode. </para> <para> Кодирование Uuencode переводит строки (включая двоичные символы) в последовательности печатных (7-битных) ASCII-символов, что позволяет безопасно обмениваться данными через четь. Закодированные данные примерно на 35% больше оригинала. </para> <para> <example> <title>Пример использования функции <function>convert_uuencode</function></title> <programlisting role="php"> <![CDATA[ <?php $some_string = "test\ntext text\r\n"; echo convert_uuencode($some_string); ?> ]]> </programlisting> </example> </para> <para> См. также <function>convert_uudecode</function> and <function>base64_encode</function>. </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-ru/reference/strings/functions/htmlspecialchars-decode.xml?r=1.1&p=1 Index: phpdoc-ru/reference/strings/functions/htmlspecialchars-decode.xml +++ phpdoc-ru/reference/strings/functions/htmlspecialchars-decode.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry id="function.htmlspecialchars-decode"> <refnamediv> <refname>htmlspecialchars_decode</refname> <refpurpose> Преобразует специальные HTML-сущности обратно в соответствующие символы </refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>htmlspecialchars_decode</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>quote_style</parameter></methodparam> </methodsynopsis> <para> Эта функция является обратной к <function>htmlspecialchars</function>. Она преобразует специальные HTML-сущности обратно в соответствующие символы. </para> <para> Конвертируемые сущности : <literal>&amp;amp;</literal>, <literal>&amp;quot;</literal> (когда ENT_NOQUOTES не установлена), <literal>&amp;#039;</literal> (когда ENT_QUOTES установлена), <literal>&amp;lt;</literal> and <literal>&amp;gt;</literal>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> Строка, которую надо преобразовать </para> </listitem> </varlistentry> <varlistentry> <term><parameter>quote_style</parameter></term> <listitem> <para> Стиль ковычек. Может принимать значение одной из следующих констант: <table> <title>Константы quote_style</title> <tgroup cols="2"> <thead> <row> <entry>Имя константы</entry> <entry>Описание</entry> </row> </thead> <tbody> <row> <entry><constant>ENT_COMPAT</constant></entry> <entry>Преобразовывать двойные ковычки и пропускать одинарные (по умолчанию)</entry> </row> <row> <entry><constant>ENT_QUOTES</constant></entry> <entry>Преобразовывать и двойные, и одинарные ковычки</entry> </row> <row> <entry><constant>ENT_NOQUOTES</constant></entry> <entry>Не преобразовывать ни двойные, ни одинарные ковычки</entry> </row> </tbody> </tgroup> </table> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Возвращает преобразованную строку. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Пример использования функции <function>htmlspecialchars_decode</function></title> <programlisting role="php"> <![CDATA[ <?php $str = '<p>this -&gt; &quot;</p>'; echo htmlspecialchars_decode($str); // обратите внимание, что в данном случае ковычки не будут преобразованы echo htmlspecialchars_decode($str, ENT_NOQUOTES); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ <p>this -> "</p> <p>this -> &quot;</p> ]]> </screen> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>htmlspecialchars</function></member> <member><function>html_entity_decode</function></member> <member><function>get_html_translation_table</function></member> </simplelist> </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-ru/reference/strings/functions/strpbrk.xml?r=1.1&p=1 Index: phpdoc-ru/reference/strings/functions/strpbrk.xml +++ phpdoc-ru/reference/strings/functions/strpbrk.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry id="function.strpbrk"> <refnamediv> <refname>strpbrk</refname> <refpurpose> Ищет в строке любой символ из заданного набора </refpurpose> </refnamediv> <refsect1> <title>Описание</title> <methodsynopsis> <type>string</type><methodname>strpbrk</methodname> <methodparam><type>string</type><parameter>haystack</parameter></methodparam> <methodparam><type>string</type><parameter>char_list</parameter></methodparam> </methodsynopsis> <para> <function>strpbrk</function> ищет в строке <parameter>haystack</parameter> символы из набора <parameter>char_list</parameter> и возвращает строку начиная с той позиции, где был найден символ (или &false; если символ не найден). </para> <note> <para> Параметр <parameter>char_list</parameter> чувствителен к регистру. </para> </note> <para> <example> <title>Пример использования функции <function>strpbrk</function></title> <programlisting role="php"> <![CDATA[ <?php $text = 'This is a Simple text.'; // Этот код выдаст "is is a Simple text.", т.к. символ 'i' встретится раньше echo strpbrk($text, 'mi'); // Этот код выдаст "Simple text.", т.к. символы чувствительны к регистру echo strpbrk($text, 'S'); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- 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:"../../../../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 -->
« previous php.doc.ru (#672) next »