cvs: phpdoc-ru /reference/strings/functions convert-uudecode.xml convert-uuencode.xml htmlspecialchars-decode.xml strpbrk.xml
| From: | Sveta Smirnova | 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;</literal>, <literal>&quot;</literal> (когда ENT_NOQUOTES не ÑÑÑановлена), <literal>&#039;</literal> (когда ENT_QUOTES ÑÑÑановлена), <literal>&lt;</literal> and <literal>&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 -> "</p>'; echo htmlspecialchars_decode($str); // обÑаÑиÑе внимание, ÑÑо в данном ÑлÑÑае ковÑÑки не бÑдÑÑ Ð¿ÑеобÑÐ°Ð·Ð¾Ð²Ð°Ð½Ñ echo htmlspecialchars_decode($str, ENT_NOQUOTES); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ <p>this -> "</p> <p>this -> "</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 -->
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;</literal>, <literal>&quot;</literal> (когда ENT_NOQUOTES не ÑÑÑановлена), <literal>&#039;</literal> (когда ENT_QUOTES ÑÑÑановлена), <literal>&lt;</literal> and <literal>&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 -> "</p>'; echo htmlspecialchars_decode($str); // обÑаÑиÑе внимание, ÑÑо в данном ÑлÑÑае ковÑÑки не бÑдÑÑ Ð¿ÑеобÑÐ°Ð·Ð¾Ð²Ð°Ð½Ñ echo htmlspecialchars_decode($str, ENT_NOQUOTES); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ <p>this -> "</p> <p>this -> "</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 -->