svn: /phpdoc/ru/trunk/reference/ filter/functions/filter-has-var.xml filter/functions/filter-id.xml filter/functions/filter-input-array.xml filter/functions/filter-input.xml filter/functions/filter-var-array.xml filter/functions/filter-var.xml gettext/functions/bind-textdomain-codeset.xml gettext/functions/bindtextdomain.xml gettext/functions/dcngettext.xml gettext/functions/dngettext.xml gettext/functions/ngettext.xml gettext/functions/textdomain.xml hash/functions/hash-file.xml hash/functions/
[email protected] (Sergey Panteleev) Thu, 19 Nov 2020 05:23:05 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Thu, 19 Nov 2020 05:23:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351446
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/reference/filter/functions/filter-has-var.xml
U phpdoc/ru/trunk/reference/filter/functions/filter-id.xml
U phpdoc/ru/trunk/reference/filter/functions/filter-input-array.xml
U phpdoc/ru/trunk/reference/filter/functions/filter-input.xml
U phpdoc/ru/trunk/reference/filter/functions/filter-var-array.xml
U phpdoc/ru/trunk/reference/filter/functions/filter-var.xml
U phpdoc/ru/trunk/reference/gettext/functions/bind-textdomain-codeset.xml
U phpdoc/ru/trunk/reference/gettext/functions/bindtextdomain.xml
U phpdoc/ru/trunk/reference/gettext/functions/dcngettext.xml
U phpdoc/ru/trunk/reference/gettext/functions/dngettext.xml
U phpdoc/ru/trunk/reference/gettext/functions/ngettext.xml
U phpdoc/ru/trunk/reference/gettext/functions/textdomain.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-file.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-final.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-hkdf.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-hmac-file.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-init.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-pbkdf2.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml
U phpdoc/ru/trunk/reference/hash/functions/hash-update-stream.xml
U phpdoc/ru/trunk/reference/hash/functions/hash.xml
U phpdoc/ru/trunk/reference/mhash/functions/mhash-get-block-size.xml
U phpdoc/ru/trunk/reference/mhash/functions/mhash-get-hash-name.xml
U phpdoc/ru/trunk/reference/mhash/functions/mhash-keygen-s2k.xml
U phpdoc/ru/trunk/reference/mhash/functions/mhash.xml
U phpdoc/ru/trunk/reference/mysqli/constants.xml
U phpdoc/ru/trunk/reference/mysqli/mysqli/options.xml
U phpdoc/ru/trunk/reference/spl/arrayobject/getarraycopy.xml
U phpdoc/ru/trunk/reference/spl/filesystemiterator/construct.xml
svn-diffs-351446.txt
(text/x-diff, 66.7 KB)
Modified: phpdoc/ru/trunk/reference/filter/functions/filter-has-var.xml
===================================================================
--- phpdoc/ru/trunk/reference/filter/functions/filter-has-var.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/filter/functions/filter-has-var.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 300153 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.filter-has-var" xmlns="http://docbook.org/ns/docbook">
@@ -11,8 +11,8 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>filter_has_var</methodname>
- <methodparam><type>int</type><parameter>type</parameter></methodparam>
- <methodparam><type>string</type><parameter>variable_name</parameter></methodparam>
+ <methodparam><type>int</type><parameter>input_type</parameter></methodparam>
+ <methodparam><type>string</type><parameter>var_name</parameter></methodparam>
</methodsynopsis>
</refsect1>
@@ -21,7 +21,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>type</parameter></term>
+ <term><parameter>input_type</parameter></term>
<listitem>
<para>
Один из <constant>INPUT_GET</constant>, <constant>INPUT_POST</constant>,
@@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>variable_name</parameter></term>
+ <term><parameter>var_name</parameter></term>
<listitem>
<para>
Имя проверяемой переменной.
@@ -49,7 +49,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/filter/functions/filter-id.xml
===================================================================
--- phpdoc/ru/trunk/reference/filter/functions/filter-id.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/filter/functions/filter-id.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 302254 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.filter-id" xmlns="http://docbook.org/ns/docbook">
@@ -10,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>filter_id</methodname>
- <methodparam><type>string</type><parameter>filtername</parameter></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>filter_id</methodname>
+ <methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
</refsect1>
@@ -20,7 +20,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>filtername</parameter></term>
+ <term><parameter>name</parameter></term>
<listitem>
<para>
Имя фильтра.
@@ -33,7 +33,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Идентификатор фильтра в случае успеха или &false;, если фильтр не существует.
+ Идентификатор фильтра в случае успешного выполнения или &false;, если фильтр не существует.
</para>
</refsect1>
@@ -47,7 +47,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/filter/functions/filter-input-array.xml
===================================================================
--- phpdoc/ru/trunk/reference/filter/functions/filter-input-array.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/filter/functions/filter-input-array.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350656 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: shein Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.filter-input-array" xmlns="http://docbook.org/ns/docbook">
@@ -10,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>filter_input_array</methodname>
+ <type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>filter_input_array</methodname>
<methodparam><type>int</type><parameter>type</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>definition</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>add_empty</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
@@ -35,7 +35,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>definition</parameter></term>
+ <term><parameter>options</parameter></term>
<listitem>
<para>
Массив, определяющий аргументы. Допустимый ключ - строка (<type>string</type>),
@@ -185,13 +185,12 @@
<simplelist>
<member><function>filter_input</function></member>
<member><function>filter_var_array</function></member>
- <member><xref linkend="filter.filters" /></member>
+ <member><xref linkend="filter.filters"/></member>
</simplelist>
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/filter/functions/filter-input.xml
===================================================================
--- phpdoc/ru/trunk/reference/filter/functions/filter-input.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/filter/functions/filter-input.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 335127 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
@@ -13,9 +13,9 @@
<methodsynopsis>
<type>mixed</type><methodname>filter_input</methodname>
<methodparam><type>int</type><parameter>type</parameter></methodparam>
- <methodparam><type>string</type><parameter>variable_name</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer>FILTER_DEFAULT</initializer></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>options</parameter></methodparam>
+ <methodparam><type>string</type><parameter>var_name</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>variable_name</parameter></term>
+ <term><parameter>var_name</parameter></term>
<listitem>
<para>
Имя получаемой переменной.
@@ -58,7 +58,7 @@
&reftitle.returnvalues;
<para>
Значение запрашиваемой переменной в случае успеха, &false;, если фильтрация завершилась неудачей,
- или &null;, если переменная <parameter>variable_name</parameter> не определена.
+ или &null;, если переменная <parameter>var_name</parameter> не определена.
Если установлен флаг <constant>FILTER_NULL_ON_FAILURE</constant>, функция
возвращает &false;, если переменная не определена и &null;, если фильтрация завершилась неудачей.
</para>
@@ -97,13 +97,12 @@
<member><function>filter_var</function></member>
<member><function>filter_input_array</function></member>
<member><function>filter_var_array</function></member>
- <member><xref linkend="filter.filters" /></member>
+ <member><xref linkend="filter.filters"/></member>
</simplelist>
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/filter/functions/filter-var-array.xml
===================================================================
--- phpdoc/ru/trunk/reference/filter/functions/filter-var-array.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/filter/functions/filter-var-array.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350656 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.filter-var-array" xmlns="http://docbook.org/ns/docbook">
@@ -10,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>filter_var_array</methodname>
- <methodparam><type>array</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>definition</parameter></methodparam>
+ <type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>filter_var_array</methodname>
+ <methodparam><type>array</type><parameter>array</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>add_empty</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>data</parameter></term>
+ <term><parameter>array</parameter></term>
<listitem>
<para>
Массив со строковыми ключами, содержащий данные для фильтрации.
@@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>definition</parameter></term>
+ <term><parameter>options</parameter></term>
<listitem>
<para>
Массив, определяющий параметры. Допустимый ключ - строка <type>string</type>,
@@ -151,13 +151,12 @@
<member><function>filter_input_array</function></member>
<member><function>filter_var</function></member>
<member><function>filter_input</function></member>
- <member><xref linkend="filter.filters" /></member>
+ <member><xref linkend="filter.filters"/></member>
</simplelist>
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/filter/functions/filter-var.xml
===================================================================
--- phpdoc/ru/trunk/reference/filter/functions/filter-var.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/filter/functions/filter-var.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350788 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351418 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
@@ -12,9 +12,9 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>filter_var</methodname>
- <methodparam><type>mixed</type><parameter>variable</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer>FILTER_DEFAULT</initializer></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>options</parameter></methodparam>
+ <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>filter</parameter><initializer><constant>FILTER_DEFAULT</constant></initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>int</type></type><parameter>options</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>variable</parameter></term>
+ <term><parameter>value</parameter></term>
<listitem>
<para>
Значение переменной для фильтрации. Обратите внимание, что скалярные
@@ -128,13 +128,12 @@
<member><function>filter_var_array</function></member>
<member><function>filter_input</function></member>
<member><function>filter_input_array</function></member>
- <member><xref linkend="filter.filters" /></member>
+ <member><xref linkend="filter.filters"/></member>
</simplelist>
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/gettext/functions/bind-textdomain-codeset.xml
===================================================================
--- phpdoc/ru/trunk/reference/gettext/functions/bind-textdomain-codeset.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/gettext/functions/bind-textdomain-codeset.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
-<refentry xml:id='function.bind-textdomain-codeset' xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="function.bind-textdomain-codeset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>bind_textdomain_codeset</refname>
<refpurpose>Устанавливает кодировку, в которой будут возвращаться сообщения из каталога сообщений домена</refpurpose>
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>bind_textdomain_codeset</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>bind_textdomain_codeset</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
<methodparam><type>string</type><parameter>codeset</parameter></methodparam>
</methodsynopsis>
@@ -49,11 +49,10 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Строка в случае успеха.
+ Строка в случае успешного выполнения.
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/gettext/functions/bindtextdomain.xml
===================================================================
--- phpdoc/ru/trunk/reference/gettext/functions/bindtextdomain.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/gettext/functions/bindtextdomain.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.bindtextdomain" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>bindtextdomain</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>bindtextdomain</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
</methodsynopsis>
@@ -76,7 +76,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/gettext/functions/dcngettext.xml
===================================================================
--- phpdoc/ru/trunk/reference/gettext/functions/dcngettext.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/gettext/functions/dcngettext.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
-<refentry xml:id='function.dcngettext' xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="function.dcngettext" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>dcngettext</refname>
<refpurpose>Версия dcgettext для множественного числа</refpurpose>
@@ -12,9 +12,9 @@
<methodsynopsis>
<type>string</type><methodname>dcngettext</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
- <methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
- <methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
- <methodparam><type>int</type><parameter>n</parameter></methodparam>
+ <methodparam><type>string</type><parameter>singular</parameter></methodparam>
+ <methodparam><type>string</type><parameter>plural</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
<methodparam><type>int</type><parameter>category</parameter></methodparam>
</methodsynopsis>
<para>
@@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid1</parameter></term>
+ <term><parameter>singular</parameter></term>
<listitem>
<para>
</para>
@@ -43,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid2</parameter></term>
+ <term><parameter>plural</parameter></term>
<listitem>
<para>
</para>
@@ -50,7 +50,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>n</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
</para>
@@ -70,7 +70,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- В случае успеха возвращает значение типа <type>string</type>.
+ В случае успешного выполнения возвращает строку (<type>string</type>).
</para>
</refsect1>
@@ -83,7 +83,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/gettext/functions/dngettext.xml
===================================================================
--- phpdoc/ru/trunk/reference/gettext/functions/dngettext.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/gettext/functions/dngettext.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -2,7 +2,7 @@
<!-- EN-Revision: 297028 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
-<refentry xml:id='function.dngettext' xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="function.dngettext" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>dngettext</refname>
<refpurpose>Версия dgettext для множественного числа</refpurpose>
@@ -13,9 +13,9 @@
<methodsynopsis>
<type>string</type><methodname>dngettext</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
- <methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
- <methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
- <methodparam><type>int</type><parameter>n</parameter></methodparam>
+ <methodparam><type>string</type><parameter>singular</parameter></methodparam>
+ <methodparam><type>string</type><parameter>plural</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
</methodsynopsis>
<para>
Функция <function>dngettext</function> позволяет переопределить
@@ -37,7 +37,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid1</parameter></term>
+ <term><parameter>singular</parameter></term>
<listitem>
<para>
</para>
@@ -44,7 +44,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid2</parameter></term>
+ <term><parameter>plural</parameter></term>
<listitem>
<para>
</para>
@@ -51,7 +51,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>n</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
</para>
@@ -64,7 +64,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- В случае успеха возвращает значение типа <type>string</type>.
+ В случае успешного выполнения возвращает строку (<type>string</type>).
</para>
</refsect1>
@@ -77,7 +77,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/gettext/functions/ngettext.xml
===================================================================
--- phpdoc/ru/trunk/reference/gettext/functions/ngettext.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/gettext/functions/ngettext.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 337680 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.ngettext" xmlns="http://docbook.org/ns/docbook">
@@ -12,9 +12,9 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>ngettext</methodname>
- <methodparam><type>string</type><parameter>msgid1</parameter></methodparam>
- <methodparam><type>string</type><parameter>msgid2</parameter></methodparam>
- <methodparam><type>int</type><parameter>n</parameter></methodparam>
+ <methodparam><type>string</type><parameter>singular</parameter></methodparam>
+ <methodparam><type>string</type><parameter>plural</parameter></methodparam>
+ <methodparam><type>int</type><parameter>count</parameter></methodparam>
</methodsynopsis>
<para>
Версия <function>gettext</function> для сообщений во множественном
@@ -28,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>msgid1</parameter></term>
+ <term><parameter>singular</parameter></term>
<listitem>
<para>
Идентификатор сообщения в единственном числе.
@@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>msgid2</parameter></term>
+ <term><parameter>plural</parameter></term>
<listitem>
<para>
Идентификатор сообщения во множественном числе.
@@ -44,7 +44,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>n</parameter></term>
+ <term><parameter>count</parameter></term>
<listitem>
<para>
Число (например количество элементов) для определения, какую
@@ -60,8 +60,8 @@
&reftitle.returnvalues;
<para>
Возвращает корректную форму сообщения во множественном числе, идентифицируемых
- по параметрам <parameter>msgid1</parameter> и <parameter>msgid2</parameter>
- для количества <parameter>n</parameter>.
+ по параметрам <parameter>singular</parameter> и <parameter>plural</parameter>
+ для количества <parameter>count</parameter>.
</para>
</refsect1>
@@ -86,7 +86,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/gettext/functions/textdomain.xml
===================================================================
--- phpdoc/ru/trunk/reference/gettext/functions/textdomain.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/gettext/functions/textdomain.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 341378 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351407 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<!-- splitted from ./en/functions/gettext.xml, last change in rev 1.2 -->
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>textdomain</methodname>
- <methodparam><type>string</type><parameter>text_domain</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam><type class="union"><type>string</type><type>null</type></type><parameter>domain</parameter></methodparam>
</methodsynopsis>
<para>
Данная функция устанавливает домен, в котором будет производиться
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>text_domain</parameter></term>
+ <term><parameter>domain</parameter></term>
<listitem>
<para>
Новый домен сообщений, или &null; для получения текущего значения
@@ -41,13 +41,12 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- В случае успеха данная функция возвращает текущее домен сообщений,
+ В случае успешного выполнения функция возвращает текущий домен сообщений,
после возможного его изменения.
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-file.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-file.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-file.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 349408 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
@@ -11,10 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash_file</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash_file</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -39,7 +39,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
Когда установлено в &true;, выводит необработанные двоичные данные. При &false;
@@ -55,7 +55,7 @@
&reftitle.returnvalues;
<para>
Возвращает строку, содержащую вычисленный хеш-код в шестнадцатеричной кодировке
- в нижнем регистре. Если <parameter>raw_output</parameter> задан как &true;,
+ в нижнем регистре. Если <parameter>binary</parameter> задан как &true;,
то возвращается хеш-код в виде бинарных данных.
</para>
</refsect1>
@@ -100,7 +100,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-final.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-final.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-final.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344006 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-final" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
<methodsynopsis>
<type>string</type><methodname>hash_final</methodname>
<methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -29,7 +29,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
Когда установлено в &true;, выводит необработанные двоичные данные. При &false;
@@ -45,7 +45,7 @@
&reftitle.returnvalues;
<para>
Возвращает строку содержащую вычисленный хеш-код в шестнадцатеричной кодировке
- в нижнем регистре. Если <parameter>raw_output</parameter> задан как &true;,
+ в нижнем регистре. Если <parameter>binary</parameter> задан как &true;,
то возвращается хеш-код в виде бинарных данных.
</para>
</refsect1>
@@ -112,7 +112,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-hkdf.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-hkdf.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-hkdf.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342645 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
-<refentry xml:id="function.hash-hkdf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xml:id="function.hash-hkdf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>hash_hkdf</refname>
<refpurpose>Формирования ключа HKDF для заданных входных данных</refpurpose>
@@ -13,10 +13,10 @@
<methodsynopsis>
<type>string</type><methodname>hash_hkdf</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
- <methodparam><type>string</type><parameter>ikm</parameter></methodparam>
+ <methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>info</parameter><initializer>''</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>salt</parameter><initializer>''</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>info</parameter><initializer>""</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>salt</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -40,7 +40,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>ikm</parameter></term>
+ <term><parameter>key</parameter></term>
<listitem>
<para>
Входные данные (необработанные бинарные данные). Не может быть пустым.
@@ -95,7 +95,7 @@
&reftitle.errors;
<para>
Ошибка уровня <constant>E_WARNING</constant> будет сгенерирована в случае,
- если параметр <parameter>ikm</parameter> пуст, в параметре
+ если параметр <parameter>key</parameter> пуст, в параметре
<parameter>algo</parameter> указан неизвестный либо не криптографический
алгоритм, параметр <parameter>length</parameter> меньше <literal>0</literal> или
очень большой (более чем в 255 раз больше размера хеш-функции).
@@ -143,7 +143,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-hmac-file.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-hmac-file.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-hmac-file.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344350 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-hmac-file" xmlns="http://docbook.org/ns/docbook">
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash_hmac_file</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash_hmac_file</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
- <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>filename</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
URL расположения файла для хеширования; Поддерживаются обработчики fopen.
@@ -48,7 +48,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
Когда установлено в &true;, выводит необработанные двоичные данные. При &false;
@@ -64,11 +64,11 @@
&reftitle.returnvalues;
<para>
Возвращает строку содержащую вычисленный хеш-код в шестнадцатеричной кодировке
- в нижнем регистре. Если <parameter>raw_output</parameter> задан как &true;,
+ в нижнем регистре. Если <parameter>binary</parameter> задан как &true;,
то возвращается хеш-код в виде бинарных данных.
Возвращает &false; когда <parameter>algo</parameter> неизвестен или
не является криптографической хеш-функцией, или если файл
- <parameter>filename</parameter> недоступен для чтения.
+ <parameter>data</parameter> недоступен для чтения.
</para>
</refsect1>
@@ -133,7 +133,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-hmac.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344350 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-hmac" xmlns="http://docbook.org/ns/docbook">
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash_hmac</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash_hmac</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -48,7 +48,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
Когда установлено в &true;, выводит необработанные двоичные данные. При &false;
@@ -64,7 +64,7 @@
&reftitle.returnvalues;
<para>
Возвращает строку содержащую вычисленный хеш-код в шестнадцатеричной кодировке
- в нижнем регистре. Если <parameter>raw_output</parameter> задан как &true;,
+ в нижнем регистре. Если <parameter>binary</parameter> задан как &true;,
то возвращается хеш-код в виде бинарных данных.
Возвращает &false;, если <parameter>algo</parameter> неизвестен или не является криптографической хеш-функцией.
</para>
@@ -129,7 +129,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-init.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-init.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-init.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344006 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. -->
@@ -13,8 +13,8 @@
<methodsynopsis>
<type>HashContext</type><methodname>hash_init</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>key</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>key</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>options</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Необязательные настройки для генерации хеша, в настоящее время поддерживается только один вариант:
@@ -45,7 +45,7 @@
<term><parameter>key</parameter></term>
<listitem>
<para>
- Если <constant>HASH_HMAC</constant> указан в параметре <parameter>options</parameter>,
+ Если <constant>HASH_HMAC</constant> указан в параметре <parameter>flags</parameter>,
то в этом параметре нужно предоставить общий секретный ключ, который будет
использоваться с методом хеширования HMAC.
</para>
@@ -134,7 +134,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-pbkdf2.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-pbkdf2.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-pbkdf2.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
-
-<refentry xml:id="function.hash-pbkdf2" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.hash-pbkdf2">
<refnamediv>
<refname>hash_pbkdf2</refname>
<refpurpose>Формирования ключа PBKDF2 для заданных входных данных</refpurpose>
@@ -18,7 +17,7 @@
<methodparam><type>string</type><parameter>salt</parameter></methodparam>
<methodparam><type>int</type><parameter>iterations</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -67,9 +66,9 @@
<listitem>
<para>
Длина генерируемой строки. Если параметр
- <parameter>raw_output</parameter> задан как &true;, то этот
+ <parameter>binary</parameter> задан как &true;, то этот
параметр равен количеству байт в генерируемом ключе. Если
- <parameter>raw_output</parameter> установлен как &false;,
+ <parameter>binary</parameter> установлен как &false;,
то длина ключа в байтах будет в два раза меньше, так как каждый
байт ключа будет возвращен в виде двух символов
шестнадцетиричной системы (0-F).
@@ -81,7 +80,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
Если установлено &true;, то вывод будет представлять из себя
@@ -99,7 +98,7 @@
<para>
Возвращаемая строка содержит сформированный ключ в виде
строки шестнадцетиричных чисел в нижнем регистре. Но если
- параметр <parameter>raw_output</parameter> установлен как &true;,
+ параметр <parameter>binary</parameter> установлен как &true;,
то будут возвращены сырые бинарные данные.
</para>
</refsect1><!-- }}} -->
@@ -199,7 +198,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-update-file.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344006 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-update-file" xmlns="http://docbook.org/ns/docbook">
@@ -11,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>hash_update_file</methodname>
- <methodparam><type>HashContext</type><parameter>hcontext</parameter></methodparam>
+ <methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>resource</type><parameter>scontext</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>stream_context</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -22,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hcontext</parameter></term>
+ <term><parameter>context</parameter></term>
<listitem>
<para>
Контекст хеширования, возвращенный <function>hash_init</function>.
@@ -38,7 +38,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>scontext</parameter></term>
+ <term><parameter>stream_context</parameter></term>
<listitem>
<para>
Контекст потока, возвращенный <function>stream_context_create</function>.
@@ -68,6 +68,12 @@
</thead>
<tbody>
<row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>stream_context</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ <row>
<entry>7.2.0</entry>
<entry>
Принимает <classname>HashContext</classname>, а не ресурс.
@@ -94,7 +100,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash-update-stream.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash-update-stream.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash-update-stream.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344006 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash-update-stream" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
<methodsynopsis>
<type>int</type><methodname>hash_update_stream</methodname>
<methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
- <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>-1</initializer></methodparam>
</methodsynopsis>
@@ -30,7 +30,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>handle</parameter></term>
+ <term><parameter>stream</parameter></term>
<listitem>
<para>
Дескриптор открытого файла, возвращаемый любой функцией создания потока.
@@ -41,7 +41,7 @@
<term><parameter>length</parameter></term>
<listitem>
<para>
- Максимальное число символов для копирования из <parameter>handle</parameter>
+ Максимальное число символов для копирования из <parameter>stream</parameter>
в контекст хеширования.
</para>
</listitem>
@@ -53,7 +53,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Фактическое количество байт, добавленное в контекст хеширования из <parameter>handle</parameter>.
+ Фактическое количество байт, добавленное в контекст хеширования из <parameter>stream</parameter>.
</para>
</refsect1>
@@ -124,7 +124,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/hash/functions/hash.xml
===================================================================
--- phpdoc/ru/trunk/reference/hash/functions/hash.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/hash/functions/hash.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350656 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hash" xmlns="http://docbook.org/ns/docbook">
@@ -10,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>hash</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>hash</methodname>
<methodparam><type>string</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
</refsect1>
@@ -38,7 +38,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>raw_output</parameter></term>
+ <term><parameter>binary</parameter></term>
<listitem>
<para>
Когда установлено в &true;, выводит необработанные двоичные данные. При &false;
@@ -54,7 +54,7 @@
&reftitle.returnvalues;
<para>
Возвращает строку содержащую вычисленный хеш-код в шестнадцатеричной кодировке
- в нижнем регистре. Если <parameter>raw_output</parameter> задан как &true;,
+ в нижнем регистре. Если <parameter>binary</parameter> задан как &true;,
то возвращается хеш-код в виде бинарных данных.
</para>
</refsect1>
@@ -135,7 +135,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/mhash/functions/mhash-get-block-size.xml
===================================================================
--- phpdoc/ru/trunk/reference/mhash/functions/mhash-get-block-size.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/mhash/functions/mhash-get-block-size.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xml:id="function.mhash-get-block-size" xmlns="http://docbook.org/ns/docbook">
@@ -12,11 +12,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>mhash_get_block_size</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>mhash_get_block_size</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
</methodsynopsis>
<para>
- Возвращает размер блока для заданного <parameter>hash</parameter>.
+ Возвращает размер блока для заданного <parameter>algo</parameter>.
</para>
</refsect1>
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
Идентификатор хеша. Одна из констант <constant>MHASH_hashname</constant>.
@@ -39,7 +39,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает размер в байтах или &false;, если параметр <parameter>hash</parameter>
+ Возвращает размер в байтах или &false;, если параметр <parameter>algo</parameter>
задан некорректно.
</para>
</refsect1>
@@ -62,7 +62,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/mhash/functions/mhash-get-hash-name.xml
===================================================================
--- phpdoc/ru/trunk/reference/mhash/functions/mhash-get-hash-name.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/mhash/functions/mhash-get-hash-name.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xml:id="function.mhash-get-hash-name" xmlns="http://docbook.org/ns/docbook">
@@ -12,11 +12,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>mhash_get_hash_name</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>mhash_get_hash_name</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
</methodsynopsis>
<para>
- Возвращает имя заданного <parameter>hash</parameter>.
+ Возвращает имя заданного <parameter>algo</parameter>.
</para>
</refsect1>
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
Идентификатор хеша. Одна из констант <constant>MHASH_hashname</constant>.
@@ -61,7 +61,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/mhash/functions/mhash-keygen-s2k.xml
===================================================================
--- phpdoc/ru/trunk/reference/mhash/functions/mhash-keygen-s2k.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/mhash/functions/mhash-keygen-s2k.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
-<refentry xml:id="function.mhash-keygen-s2k" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.mhash-keygen-s2k">
<refnamediv>
<refname>mhash_keygen_s2k</refname>
<refpurpose>Генерация ключа</refpurpose>
@@ -12,14 +12,14 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>mhash_keygen_s2k</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>mhash_keygen_s2k</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam><type>string</type><parameter>salt</parameter></methodparam>
- <methodparam><type>int</type><parameter>bytes</parameter></methodparam>
+ <methodparam><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<para>
- Генерирует ключ в соответствии с заданным <parameter>hash</parameter> и указанным
+ Генерирует ключ в соответствии с заданным <parameter>algo</parameter> и указанным
паролем <parameter>password</parameter>.
</para>
<para>
@@ -40,7 +40,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
Идентификатор хеша. Одна из констант <constant>MHASH_hashname</constant>.
@@ -68,7 +68,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>bytes</parameter></term>
+ <term><parameter>length</parameter></term>
<listitem>
<para>
Длина ключа в байтах.
@@ -86,7 +86,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/mhash/functions/mhash.xml
===================================================================
--- phpdoc/ru/trunk/reference/mhash/functions/mhash.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/mhash/functions/mhash.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307148 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351417 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<refentry xml:id="function.mhash" xmlns="http://docbook.org/ns/docbook">
@@ -12,14 +12,14 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>mhash</methodname>
- <methodparam><type>int</type><parameter>hash</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>mhash</methodname>
+ <methodparam><type>int</type><parameter>algo</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>key</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>key</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>mhash</function> принимает хеш-функцию, заданную
- <parameter>hash</parameter> для <parameter>data</parameter>.
+ <parameter>algo</parameter> для <parameter>data</parameter>.
</para>
</refsect1>
@@ -28,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>hash</parameter></term>
+ <term><parameter>algo</parameter></term>
<listitem>
<para>
Идентификатор хеша. Одна из констант <constant>MHASH_hashname</constant>.
@@ -65,8 +65,31 @@
Возвращает строку с результирующим хешем (также называемый дайджестом) или HMAC, или &false; в случае ошибки.
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>key</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/mysqli/constants.xml
===================================================================
--- phpdoc/ru/trunk/reference/mysqli/constants.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/mysqli/constants.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350058 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351425 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<appendix xml:id="mysqli.constants" xmlns="http://docbook.org/ns/docbook">
@@ -31,6 +31,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry xml:id="constantmysqli-opt-read-timeout">
+ <term><constant>MYSQLI_OPT_READ_TIMEOUT</constant></term>
+ <listitem>
+ <para>
+ Время ожидания результата выполнения команды в секундах. Доступно с PHP 7.2.0.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry xml:id="constantmysqli-opt-local-infile">
<term><constant>MYSQLI_OPT_LOCAL_INFILE</constant></term>
<listitem>
Modified: phpdoc/ru/trunk/reference/mysqli/mysqli/options.xml
===================================================================
--- phpdoc/ru/trunk/reference/mysqli/mysqli/options.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/mysqli/mysqli/options.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350655 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351425 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="mysqli.options" xmlns="http://docbook.org/ns/docbook">
@@ -60,12 +60,13 @@
<tbody>
<row>
<entry><constant>MYSQLI_OPT_CONNECT_TIMEOUT</constant></entry>
- <entry>
- Тайм-аут соединения в секундах (поддерживается в Windows с TCP/IP,
- начиная с PHP 5.3.1)
- </entry>
+ <entry>Время ожидания соединения в секундах</entry>
</row>
<row>
+ <entry><constant>MYSQLI_OPT_READ_TIMEOUT</constant></entry>
+ <entry>Время ожидания результата выполнения команды в секундах. Доступно с PHP 7.2.0.</entry>
+ </row>
+ <row>
<entry><constant>MYSQLI_OPT_LOCAL_INFILE</constant></entry>
<entry>
Включение/выключение <literal>LOAD LOCAL INFILE</literal>
Modified: phpdoc/ru/trunk/reference/spl/arrayobject/getarraycopy.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/arrayobject/getarraycopy.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/spl/arrayobject/getarraycopy.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 343888 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351422 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="arrayobject.getarraycopy" xmlns="http://docbook.org/ns/docbook">
@@ -27,7 +27,7 @@
&reftitle.returnvalues;
<para>
Возвращает копию массива. Если <classname>ArrayObject</classname> ссылается на объект,
- то будет возвращен массив общедоступных свойств данного объекта.
+ то будет возвращен массив свойств данного объекта.
</para>
</refsect1>
Modified: phpdoc/ru/trunk/reference/spl/filesystemiterator/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/filesystemiterator/construct.xml 2020-11-19 00:31:28 UTC (rev 351445)
+++ phpdoc/ru/trunk/reference/spl/filesystemiterator/construct.xml 2020-11-19 05:23:05 UTC (rev 351446)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 321901 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351423 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
@@ -47,6 +47,12 @@
FilesystemIterator</link>. Также их можно задать позже методом
<methodname>FilesystemIterator::setFlags</methodname>.
</para>
+ <note>
+ <para>
+ <constant>FilesystemIterator::SKIP_DOTS</constant> всегда установлен
+ и не может быть удален.
+ </para>
+ </note>
</listitem>
</varlistentry>
</variablelist>