svn: /phpdoc/ru/trunk/ language/functions.xml language-snippets.ent reference/curl/book.xml reference/enchant/book.xml reference/image/book.xml reference/openssl/book.xml reference/shmop/book.xml reference/sockets/book.xml reference/strings/functions/substr-compare.xml reference/xml/book.xml reference/xmlreader/xmlreader/lookupnamespace.xml reference/zlib/book.xml
[email protected] (Sergey Panteleev) Mon, 07 Dec 2020 05:13:22 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Mon, 07 Dec 2020 05:13:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351941
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/language/functions.xml
U phpdoc/ru/trunk/language-snippets.ent
U phpdoc/ru/trunk/reference/curl/book.xml
U phpdoc/ru/trunk/reference/enchant/book.xml
U phpdoc/ru/trunk/reference/image/book.xml
U phpdoc/ru/trunk/reference/openssl/book.xml
U phpdoc/ru/trunk/reference/shmop/book.xml
U phpdoc/ru/trunk/reference/sockets/book.xml
U phpdoc/ru/trunk/reference/strings/functions/substr-compare.xml
U phpdoc/ru/trunk/reference/xml/book.xml
U phpdoc/ru/trunk/reference/xmlreader/xmlreader/lookupnamespace.xml
U phpdoc/ru/trunk/reference/zlib/book.xml
svn-diffs-351941.txt
(text/x-diff, 12 KB)
Modified: phpdoc/ru/trunk/language/functions.xml
===================================================================
--- phpdoc/ru/trunk/language/functions.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/language/functions.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351885 Maintainer: sergey Status: ready -->
+<!-- EN-Revision: 351933 Maintainer: sergey Status: ready -->
<!-- Reviewed: yes -->
<chapter xml:id="language.functions" xmlns="http://docbook.org/ns/docbook">
@@ -231,7 +231,7 @@
</programlisting>
</example>
<para>
- Начиная с PHP 8.0.0, передача необязательных аргументов после обязательных аргументов
+ Начиная с PHP 8.0.0, передача обязательных аргументов после необязательных аргументов
устарела. Обычно это можно решить, отказавшись от значения по умолчанию.
Единственным исключением из этого правила являются аргументы формы
<code>Type $param = null</code>, где &null; по умолчанию делает тип неявно
Modified: phpdoc/ru/trunk/language-snippets.ent
===================================================================
--- phpdoc/ru/trunk/language-snippets.ent 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/language-snippets.ent 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351924 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -2299,16 +2299,12 @@
<para xmlns="http://docbook.org/ns/docbook">
Если не указан, то значение по умолчанию для <parameter>encoding</parameter> зависит
- от используемой версии PHP. В PHP 5.6 и выше, для значения по умолчанию используется
- конфигурационная опция <link linkend="ini.default-charset">default_charset</link>.
- В PHP 5.4 и 5.5 используется <literal>UTF-8</literal> по умолчанию. Более ранние версии PHP
- используют <literal>ISO-8859-1</literal>.
+ от конфигурационной опции <link linkend="ini.default-charset">default_charset</link>.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Хотя этот аргумент является технически необязательным, настоятельно рекомендуется
- указать правильное значение для вашего кода, если вы используете PHP 5.5 или выше,
- или если ваша опция конфигурации <link linkend="ini.default-charset">default_charset</link>
+ указать правильное значение для вашего кода, опция конфигурации <link linkend="ini.default-charset">default_charset</link>
может быть задана неверно для входных данных.
</para>
'>
@@ -2634,7 +2630,7 @@
<!ENTITY strings.parameter.needle.non-string '
<para xmlns="http://docbook.org/ns/docbook">
- Если параметр <parameter>needle</parameter> не является строкой,
+ До PHP 8.0.0, если параметр <parameter>needle</parameter> не является строкой,
он преобразуется в целое число и трактуется как код символа.
Это поведение устарело с PHP 7.3.0, и полагаться на него крайне не рекомендуется.
В зависимости от предполагаемого поведения,
Modified: phpdoc/ru/trunk/reference/curl/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/curl/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/curl/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 341282 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -29,6 +29,10 @@
&reference.curl.constants;
&reference.curl.examples;
&reference.curl.reference;
+ &reference.curl.curlhandle;
+ &reference.curl.curlmultihandle;
+ &reference.curl.curlsharehandle;
+ &reference.curl.curlfile;
</book>
Modified: phpdoc/ru/trunk/reference/enchant/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/enchant/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330340 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<book xml:id="book.enchant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -63,6 +63,8 @@
&reference.enchant.constants;
&reference.enchant.examples;
&reference.enchant.reference;
+ &reference.enchant.enchantbroker;
+ &reference.enchant.enchantdictionary;
</book>
Modified: phpdoc/ru/trunk/reference/image/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/image/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350826 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<book xml:id="book.image" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -140,6 +140,7 @@
&reference.image.constants;
&reference.image.examples;
&reference.image.reference;
+ &reference.image.gdimage;
</book>
Modified: phpdoc/ru/trunk/reference/openssl/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/openssl/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/openssl/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342538 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: aur Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<book xml:id="book.openssl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -29,6 +29,9 @@
&reference.openssl.certparams;
&reference.openssl.cert-verification;
&reference.openssl.reference;
+ &reference.openssl.opensslcertificate;
+ &reference.openssl.opensslcertificatesigningrequest;
+ &reference.openssl.opensslasymmetrickey;
</book>
Modified: phpdoc/ru/trunk/reference/shmop/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/shmop/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 347589 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: aur Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
@@ -22,6 +22,7 @@
&reference.shmop.constants;
&reference.shmop.examples;
&reference.shmop.reference;
+ &reference.shmop.shmop;
</book>
Modified: phpdoc/ru/trunk/reference/sockets/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/sockets/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/sockets/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 330340 Maintainer: countzero Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: countzero Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<book xml:id="book.sockets" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -42,6 +42,8 @@
&reference.sockets.examples;
&reference.sockets.errors;
&reference.sockets.reference;
+ &reference.sockets.socket;
+ &reference.sockets.addressinfo;
</book>
Modified: phpdoc/ru/trunk/reference/strings/functions/substr-compare.xml
===================================================================
--- phpdoc/ru/trunk/reference/strings/functions/substr-compare.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/strings/functions/substr-compare.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351904 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351924 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.substr-compare" xmlns="http://docbook.org/ns/docbook">
@@ -89,7 +89,7 @@
если она больше <parameter>needle</parameter>; 0, если строки равны.
Если <parameter>offset</parameter> больше (до PHP 7.2.18, 7.3.5) или равен длине
<parameter>haystack</parameter> или <parameter>length</parameter> передан
- и меньше 0 (или, д PHP 5.5.11, меньше 1), <function>substr_compare</function> выводит
+ и меньше 0, <function>substr_compare</function> выводит
предупреждение и возвращает &false;.
</para>
</refsect1>
Modified: phpdoc/ru/trunk/reference/xml/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/xml/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/xml/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 330340 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: mch Status: ready -->
<!-- $Revision$ -->
<!-- Reviewed: yes -->
@@ -45,6 +45,7 @@
&reference.xml.encoding;
&reference.xml.examples;
&reference.xml.reference;
+ &reference.xml.xmlparser;
</book>
Modified: phpdoc/ru/trunk/reference/xmlreader/xmlreader/lookupnamespace.xml
===================================================================
--- phpdoc/ru/trunk/reference/xmlreader/xmlreader/lookupnamespace.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/xmlreader/xmlreader/lookupnamespace.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351488 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351903 Maintainer: mch Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="xmlreader.lookupnamespace" xmlns="http://docbook.org/ns/docbook">
@@ -35,7 +35,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- &return.success;
+ Значение пространства имен или &null;, если пространства имен не существует.
</para>
</refsect1>
Modified: phpdoc/ru/trunk/reference/zlib/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/zlib/book.xml 2020-12-07 05:04:12 UTC (rev 351940)
+++ phpdoc/ru/trunk/reference/zlib/book.xml 2020-12-07 05:13:22 UTC (rev 351941)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 330340 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351932 Maintainer: mch Status: ready -->
<!-- $Revision$ -->
<!-- Reviewed: yes -->
@@ -41,6 +41,8 @@
&reference.zlib.constants;
&reference.zlib.examples;
&reference.zlib.reference;
+ &reference.zlib.deflatecontext;
+ &reference.zlib.inflatecontext;
</book>