cvs: phpdoc-ru /reference/ftp/functions ftp-chdir.xml ftp-chmod.xml ftp-exec.xml ftp-login.xml /reference/strings/functions str-replace.xml
strcspn.xml strspn.xml
| From: | Andrey Demenev | Date: | Tue, 29 Jun 2004 07:45:29 +0000 |
| Subject: | cvs: phpdoc-ru /reference/ftp/functions ftp-chdir.xml ftp-chmod.xml ftp-exec.xml ftp-login.xml /reference/strings/functions str-replace.xml strcspn.xml strspn.xml |
||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-378@lists.php.net to get a copy of this message | ||
blindman Tue Jun 29 03:45:29 2004 EDT
Modified files:
/phpdoc-ru/reference/ftp/functions ftp-chdir.xml ftp-chmod.xml
ftp-exec.xml ftp-login.xml
/phpdoc-ru/reference/strings/functions str-replace.xml strcspn.xml
strspn.xml
Log:
sync with EN
http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-chdir.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-chdir.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-chdir.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-chdir.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-chdir.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-chdir.xml Tue Jun 29 03:45:28 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.7 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.8 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.2 --> <refentry id="function.ftp-chdir"> <refnamediv> @@ -20,6 +20,8 @@ </para> <para> &return.success; + Åñëè íå óäàëîñü ñìåíèòü òåêóùóþ äèðåêòîðèþ. áóäåò òàêæå âûâåäåíî + ïðåäóïðåæäåíèå. </para> <example> <title>Ïðèìåð èñïîëüçîâàíèÿ ôóíêöèè <function>ftp_chdir</function></title> http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-chmod.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-chmod.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-chmod.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-chmod.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-chmod.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-chmod.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.3 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.4 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <refentry id="function.ftp-chmod"> <refnamediv> <refname>ftp_chmod</refname> http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-exec.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-exec.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-exec.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-exec.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-exec.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-exec.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.9 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.10 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.32 --> <refentry id='function.ftp-exec'> <refnamediv> http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-login.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-login.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-login.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-login.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-login.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-login.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.6 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.7 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.2 --> <refentry id="function.ftp-login"> <refnamediv> @@ -20,6 +20,8 @@ </para> <para> &return.success; + Åñëè íå óäàëîñü ïðîèçâåñòè âõîä (íàïðèìåð, óêàçàíû íåâåðíîå èìÿ + ïîëüçîâàòåëÿ è/èëè ïàðîëü), áóäåò òàêæå âûâåäåíî ïðåäóïðåæäåíèå. </para> <example> <title>Ïðèìåð èñïîëüçîâàíèÿ <function>ftp_login</function></title> http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/str-replace.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/str-replace.xml diff -u phpdoc-ru/reference/strings/functions/str-replace.xml:1.1 phpdoc-ru/reference/strings/functions/str-replace.xml:1.2 --- phpdoc-ru/reference/strings/functions/str-replace.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/str-replace.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.13 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.15 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.str-replace"> <refnamediv> http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/strcspn.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/strcspn.xml diff -u phpdoc-ru/reference/strings/functions/strcspn.xml:1.1 phpdoc-ru/reference/strings/functions/strcspn.xml:1.2 --- phpdoc-ru/reference/strings/functions/strcspn.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/strcspn.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> <!-- EN-Revision: 1.2 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strcspn"> <refnamediv> @@ -15,11 +15,19 @@ <type>int</type><methodname>strcspn</methodname> <methodparam><type>string</type><parameter>str1</parameter></methodparam> <methodparam><type>string</type><parameter>str2</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>start</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> Âîçâðàùàåò äëèíó ó÷àñòêà â íà÷àëå ñòðîêè <parameter>str1</parameter>, êîòîðûé <emphasis>íå ñîäåðæèò</emphasis> íè îäíîãî ñèìâîëà èç ñòðîêè <parameter>str2</parameter>. + </simpara> + <simpara> + Ñ âåðñèè PHP 4.0B1, ýòà ôóíêöèÿ áåçîïàñíà äëÿ èñïîëüçîâàíèÿ ñ + äâîè÷íûìè äàííûìè. Äîïîëíèòåëüíî, ïîääåðæèâàþòñÿ äâà íåîáÿçàòåëüíûõ + àðãóìåíòà, çàäàþùèå íà÷àëüíóþ ïîçèöèþ è äëèíó ó÷àñòêà ñòðîêè, â + êîòîðîì ïðîèçâîäèòñÿ ïîèñê. </simpara> <simpara> Ñì. òàêæå îïèñàíèå ôóíêöèè <function>strspn</function>. http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/strspn.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/strspn.xml diff -u phpdoc-ru/reference/strings/functions/strspn.xml:1.1 phpdoc-ru/reference/strings/functions/strspn.xml:1.2 --- phpdoc-ru/reference/strings/functions/strspn.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/strspn.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> <!-- EN-Revision: 1.3 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strspn"> <refnamediv> @@ -15,6 +15,8 @@ <type>int</type><methodname>strspn</methodname> <methodparam><type>string</type><parameter>str1</parameter></methodparam> <methodparam><type>string</type><parameter>str2</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>start</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> Âîçâðàùàåò äëèíó ó÷àñòêà â íà÷àëå ñòðîêè <parameter>str1</parameter>, @@ -34,6 +36,21 @@ ïðèñâîèò 2 ïåðåìåííîé <varname>$var</varname>, òàê êàê "42" - ýòî ñàìûé äëèííûé ó÷àñòîê ñòðîêè, ñîñòîÿùèé òîëüêî èç ñèìâîëîâ "1234567890". + </para> + <para> + Ñ âåðñèè PHP 4.0B1, ýòà ôóíêöèÿ áåçîïàñíà äëÿ èñïîëüçîâàíèÿ ñ + äâîè÷íûìè äàííûìè. Äîïîëíèòåëüíî, ïîääåðæèâàþòñÿ äâà íåîáÿçàòåëüíûõ + àðãóìåíòà, çàäàþùèå íà÷àëüíóþ ïîçèöèþ è äëèíó ó÷àñòêà ñòðîêè, â + êîòîðîì ïðîèçâîäèòñÿ ïîèñê. + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +echo strspn("foo", "o", 1, 2); // 2 +?> +]]> + </programlisting> + </informalexample> </para> <simpara> Ñì. òàêæå îïèñàíèå ôóíêöèè <function>strcspn</function>.
http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-chdir.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-chdir.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-chdir.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-chdir.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-chdir.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-chdir.xml Tue Jun 29 03:45:28 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.7 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.8 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.2 --> <refentry id="function.ftp-chdir"> <refnamediv> @@ -20,6 +20,8 @@ </para> <para> &return.success; + Åñëè íå óäàëîñü ñìåíèòü òåêóùóþ äèðåêòîðèþ. áóäåò òàêæå âûâåäåíî + ïðåäóïðåæäåíèå. </para> <example> <title>Ïðèìåð èñïîëüçîâàíèÿ ôóíêöèè <function>ftp_chdir</function></title> http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-chmod.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-chmod.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-chmod.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-chmod.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-chmod.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-chmod.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.3 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.4 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <refentry id="function.ftp-chmod"> <refnamediv> <refname>ftp_chmod</refname> http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-exec.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-exec.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-exec.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-exec.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-exec.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-exec.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.9 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.10 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.32 --> <refentry id='function.ftp-exec'> <refnamediv> http://cvs.php.net/diff.php/phpdoc-ru/reference/ftp/functions/ftp-login.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/ftp/functions/ftp-login.xml diff -u phpdoc-ru/reference/ftp/functions/ftp-login.xml:1.1 phpdoc-ru/reference/ftp/functions/ftp-login.xml:1.2 --- phpdoc-ru/reference/ftp/functions/ftp-login.xml:1.1 Tue Jun 29 03:12:08 2004 +++ phpdoc-ru/reference/ftp/functions/ftp-login.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.6 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.7 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.2 --> <refentry id="function.ftp-login"> <refnamediv> @@ -20,6 +20,8 @@ </para> <para> &return.success; + Åñëè íå óäàëîñü ïðîèçâåñòè âõîä (íàïðèìåð, óêàçàíû íåâåðíîå èìÿ + ïîëüçîâàòåëÿ è/èëè ïàðîëü), áóäåò òàêæå âûâåäåíî ïðåäóïðåæäåíèå. </para> <example> <title>Ïðèìåð èñïîëüçîâàíèÿ <function>ftp_login</function></title> http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/str-replace.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/str-replace.xml diff -u phpdoc-ru/reference/strings/functions/str-replace.xml:1.1 phpdoc-ru/reference/strings/functions/str-replace.xml:1.2 --- phpdoc-ru/reference/strings/functions/str-replace.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/str-replace.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.13 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.15 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.str-replace"> <refnamediv> http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/strcspn.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/strcspn.xml diff -u phpdoc-ru/reference/strings/functions/strcspn.xml:1.1 phpdoc-ru/reference/strings/functions/strcspn.xml:1.2 --- phpdoc-ru/reference/strings/functions/strcspn.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/strcspn.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> <!-- EN-Revision: 1.2 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strcspn"> <refnamediv> @@ -15,11 +15,19 @@ <type>int</type><methodname>strcspn</methodname> <methodparam><type>string</type><parameter>str1</parameter></methodparam> <methodparam><type>string</type><parameter>str2</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>start</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> Âîçâðàùàåò äëèíó ó÷àñòêà â íà÷àëå ñòðîêè <parameter>str1</parameter>, êîòîðûé <emphasis>íå ñîäåðæèò</emphasis> íè îäíîãî ñèìâîëà èç ñòðîêè <parameter>str2</parameter>. + </simpara> + <simpara> + Ñ âåðñèè PHP 4.0B1, ýòà ôóíêöèÿ áåçîïàñíà äëÿ èñïîëüçîâàíèÿ ñ + äâîè÷íûìè äàííûìè. Äîïîëíèòåëüíî, ïîääåðæèâàþòñÿ äâà íåîáÿçàòåëüíûõ + àðãóìåíòà, çàäàþùèå íà÷àëüíóþ ïîçèöèþ è äëèíó ó÷àñòêà ñòðîêè, â + êîòîðîì ïðîèçâîäèòñÿ ïîèñê. </simpara> <simpara> Ñì. òàêæå îïèñàíèå ôóíêöèè <function>strspn</function>. http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/strspn.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/strspn.xml diff -u phpdoc-ru/reference/strings/functions/strspn.xml:1.1 phpdoc-ru/reference/strings/functions/strspn.xml:1.2 --- phpdoc-ru/reference/strings/functions/strspn.xml:1.1 Mon Apr 12 04:41:56 2004 +++ phpdoc-ru/reference/strings/functions/strspn.xml Tue Jun 29 03:45:29 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> <!-- EN-Revision: 1.3 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strspn"> <refnamediv> @@ -15,6 +15,8 @@ <type>int</type><methodname>strspn</methodname> <methodparam><type>string</type><parameter>str1</parameter></methodparam> <methodparam><type>string</type><parameter>str2</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>start</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> Âîçâðàùàåò äëèíó ó÷àñòêà â íà÷àëå ñòðîêè <parameter>str1</parameter>, @@ -34,6 +36,21 @@ ïðèñâîèò 2 ïåðåìåííîé <varname>$var</varname>, òàê êàê "42" - ýòî ñàìûé äëèííûé ó÷àñòîê ñòðîêè, ñîñòîÿùèé òîëüêî èç ñèìâîëîâ "1234567890". + </para> + <para> + Ñ âåðñèè PHP 4.0B1, ýòà ôóíêöèÿ áåçîïàñíà äëÿ èñïîëüçîâàíèÿ ñ + äâîè÷íûìè äàííûìè. Äîïîëíèòåëüíî, ïîääåðæèâàþòñÿ äâà íåîáÿçàòåëüíûõ + àðãóìåíòà, çàäàþùèå íà÷àëüíóþ ïîçèöèþ è äëèíó ó÷àñòêà ñòðîêè, â + êîòîðîì ïðîèçâîäèòñÿ ïîèñê. + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +echo strspn("foo", "o", 1, 2); // 2 +?> +]]> + </programlisting> + </informalexample> </para> <simpara> Ñì. òàêæå îïèñàíèå ôóíêöèè <function>strcspn</function>.