svn: /phpdoc/ru/trunk/ language-snippets.ent reference/mbstring/functions/mb-convert-kana.xml reference/mbstring/functions/mb-convert-variables.xml reference/mbstring/functions/mb-decode-mimeheader.xml reference/mbstring/functions/mb-decode-numericentity.xml reference/mbstring/functions/mb-detect-encoding.xml reference/mbstring/functions/mb-detect-order.xml reference/mbstring/functions/mb-encode-mimeheader.xml reference/mbstring/functions/mb-encode-numericentity.xml reference/mbstring/functions/

[email protected] (Sergey Panteleev) Mon, 14 Dec 2020 07:02:46 +0000
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Mon, 14 Dec 2020 07:02:46 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352061

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/language-snippets.ent
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-kana.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-variables.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-mimeheader.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-numericentity.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-encoding.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-order.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-mimeheader.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-numericentity.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-encoding-aliases.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-match.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace-callback.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-getregs.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-init.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-setpos.xml
    U   phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search.xml
svn-diffs-352061.txt (text/x-diff, 55.2 KB)
Modified: phpdoc/ru/trunk/language-snippets.ent
===================================================================
--- phpdoc/ru/trunk/language-snippets.ent	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/language-snippets.ent	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 352006 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352052 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->

@@ -748,7 +748,7 @@
 будет по умолчанию использована для данной функции.</para></note>'>

 <!ENTITY mbstring.encoding.parameter '<para xmlns="http://docbook.org/ns/docbook">Параметр <parameter>encoding</parameter>
-представляет собой символьную кодировку. Если он опущен, вместо него будет использовано значение внутренней кодировки.</para>'>
+представляет собой символьную кодировку. Если он опущен или равен &null;, вместо него будет использовано значение внутренней кодировки.</para>'>

 <!ENTITY mbstring.warning.e-modifier '<warning xmlns="http://docbook.org/ns/docbook"><para>Никогда не используйте
 модификатор <literal>e</literal> при работе с данными, полученными из недостоверных источников. Не выполняется никакого
@@ -755,6 +755,13 @@
 автоматического экранирования этих данных (в отличие от <function>preg_replace</function>). Неучитывание данных требований,
 скорее всего, создаст уязвимость выполнения удаленного кода в вашем приложении.</para></warning>'>

+<!ENTITY mbstring.changelog.encoding-nullable '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.0.0</entry>
+ <entry>
+  Теперь параметр <parameter>encoding</parameter> может принимать значение &null;.
+ </entry>
+</row>'>
+
 <!-- mcrypt notes -->

 <!ENTITY mcrypt.parameter.cipher '<para xmlns="http://docbook.org/ns/docbook">Одна из констант <constant>MCRYPT_ciphername</constant> или название алгоритма в виде строки.</para>'>
@@ -1249,7 +1256,7 @@

 <!-- GMP Notes -->
 <!ENTITY gmp.return 'Объект класса <classname xmlns="http://docbook.org/ns/docbook">GMP</classname>ю'>
-<!ENTITY gmp.parameter '<para xmlns="http://docbook.org/ns/docbook">Либо ресурс (<type>resource</type>) номера GMP в PHP 5.5 и более ранних версиях, объект <classname>GMP</classname> в PHP 5.6 и более поздних версиях, либо числовая строка при условии, что можно преобразовать последнюю в число.</para>'>
+<!ENTITY gmp.parameter '<para xmlns="http://docbook.org/ns/docbook">Объект <classname>GMP</classname>, целое число (&integer;) или числовая строка (&string;).</para>'>

 <!-- MySQLi Notes -->
 <!ENTITY mysqli.result.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-kana.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-kana.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-kana.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 349709 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-convert-kana" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,12 +12,12 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>mb_convert_kana</methodname>
-   <methodparam><type>string</type><parameter>str</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"KV"</initializer></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
+   <methodparam><type>string</type><parameter>string</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>mode</parameter><initializer>"KV"</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   Поизводит преобразование "han-kaku" - "zen-kaku" для агрумента типа <type>string</type> <parameter>str</parameter>.
+   Поизводит преобразование "han-kaku" - "zen-kaku" для агрумента типа <type>string</type> <parameter>string</parameter>.
    Эта функция может быть полезной только для японского языка.
   </para>
  </refsect1>
@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>str</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        Исходная строка (<type>string</type>).
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>mode</parameter></term>
      <listitem>
       <para>
        Настройка конвертации.
@@ -166,6 +166,23 @@
    Преобразованная строка (<type>string</type>).
   </para>
  </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     &mbstring.changelog.encoding-nullable;
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>

  <refsect1 role="examples">
   &reftitle.examples;
@@ -189,7 +206,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-variables.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-variables.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-convert-variables.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351129 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-convert-variables" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,9 +13,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>mb_convert_variables</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>mb_convert_variables</methodname>
    <methodparam><type>string</type><parameter>to_encoding</parameter></methodparam>
-   <methodparam><type>mixed</type><parameter>from_encoding</parameter></methodparam>
+   <methodparam><type class="union"><type>array</type><type>string</type></type><parameter>from_encoding</parameter></methodparam>
    <methodparam><type>mixed</type><parameter role="reference">var</parameter></methodparam>
    <methodparam rep="repeat"><type>mixed</type><parameter role="reference">vars</parameter></methodparam>
   </methodsynopsis>
@@ -106,7 +106,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-mimeheader.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-mimeheader.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-mimeheader.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 288721 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-decode-mimeheader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,10 +12,10 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>mb_decode_mimeheader</methodname>
-   <methodparam><type>string</type><parameter>str</parameter></methodparam>
+   <methodparam><type>string</type><parameter>string</parameter></methodparam>
   </methodsynopsis>
   <para>
-   Декодирует закодированную строку (<type>string</type>) <parameter>str</parameter> в MIME-заголовке.
+   Декодирует закодированную строку (<type>string</type>) <parameter>string</parameter> в MIME-заголовке.
   </para>
  </refsect1>

@@ -24,7 +24,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>str</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        Строка (<type>string</type>) для декодирования.
@@ -52,7 +52,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-numericentity.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-numericentity.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-decode-numericentity.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350656 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-decode-numericentity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,13 +12,12 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>mb_decode_numericentity</methodname>
-   <methodparam><type>string</type><parameter>str</parameter></methodparam>
-   <methodparam><type>array</type><parameter>convmap</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>is_hex</parameter><initializer>&false;</initializer></methodparam>
+   <methodparam><type>string</type><parameter>string</parameter></methodparam>
+   <methodparam><type>array</type><parameter>map</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   Преобразует строку чисел <parameter>str</parameter> (<type>string</type>)
+   Преобразует строку чисел <parameter>string</parameter> (<type>string</type>)
    в заданном блоке в символ.
   </para>
  </refsect1>
@@ -28,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>str</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        Строка (<type>string</type>) для декодирования.
@@ -36,10 +35,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>convmap</parameter></term>
+     <term><parameter>map</parameter></term>
      <listitem>
       <para>
-       <parameter>convmap</parameter> - массив (<type>array</type>), который
+       <parameter>map</parameter> - массив (<type>array</type>), который
        задает диапазон кодов символов.
       </para>
      </listitem>
@@ -69,11 +68,28 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     &mbstring.changelog.encoding-nullable;
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
    <example>
-    <title>Пример <parameter>convmap</parameter></title>
+    <title>Пример использования <parameter>map</parameter></title>
     <programlisting role="php">
 <![CDATA[
 <?php
@@ -93,7 +109,7 @@

   <para>
    <example>
-    <title>Пример экранирования строки JavaScript с помощью <parameter>convmap</parameter></title>
+    <title>Пример экранирования строки JavaScript с помощью <parameter>map</parameter></title>
     <programlisting role="php">
 <![CDATA[
 <?php
@@ -171,7 +187,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-encoding.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-encoding.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-encoding.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 343899 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352042 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-detect-encoding" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -11,13 +11,13 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>mb_detect_encoding</methodname>
-   <methodparam><type>string</type><parameter>str</parameter></methodparam>
-   <methodparam choice="opt"><type>mixed</type><parameter>encoding_list</parameter><initializer>mb_detect_order()</initializer></methodparam>
+   <type class="union"><type>string</type><type>false</type></type><methodname>mb_detect_encoding</methodname>
+   <methodparam><type>string</type><parameter>string</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>encodings</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>strict</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   Определяет кодировку символов в строке (<type>string</type>) <parameter>str</parameter>.
+   Определяет кодировку символов в строке (<type>string</type>) <parameter>string</parameter>.
   </para>
  </refsect1>

@@ -26,7 +26,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>str</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        Строка (<type>string</type>), для которой требуется определить кодировку.
@@ -34,15 +34,15 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>encoding_list</parameter></term>
+     <term><parameter>encodings</parameter></term>
      <listitem>
       <para>
-       <parameter>encoding_list</parameter> - список возможных кодировок.
+       <parameter>encodings</parameter> - список возможных кодировок.
        Может быть представлен массивом или строкой, в которой будут перечислены
        названия кодировок, разделенные запятыми.
       </para>
       <para>
-       Если <parameter>encoding_list</parameter> не задан, будет применен
+       Если <parameter>encodings</parameter> не задан, будет применен
        detect_order.
       </para>
      </listitem>
@@ -82,10 +82,10 @@
 /* "auto" раскрывается в соответствии с mbstring.language */
 echo mb_detect_encoding($str, "auto");

-/* Зададим список кодировок encoding_list в виде строки */
+/* Зададим список кодировок "encodings" в виде строки */
 echo mb_detect_encoding($str, "JIS, eucjp-win, sjis-win");

-/* Использование массива для задания возможных кодировок encoding_list  */
+/* Использование массива для задания возможных кодировок "encodings"  */
 $ary[] = "ASCII";
 $ary[] = "JIS";
 $ary[] = "EUC-JP";
@@ -107,7 +107,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-order.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-order.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-detect-order.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 338834 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-detect-order" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,11 +13,11 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>mb_detect_order</methodname>
-   <methodparam choice="opt"><type>mixed</type><parameter>encoding_list</parameter><initializer>mb_detect_order()</initializer></methodparam>
+   <type class="union"><type>array</type><type>bool</type></type><methodname>mb_detect_order</methodname>
+   <methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   В <parameter>encoding_list</parameter> задается порядок, в котором механизмы
+   В <parameter>encoding</parameter> задается порядок, в котором механизмы
    автоматического определения кодировок будут их проверять.
   </para>
  </refsect1>
@@ -27,15 +27,15 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>encoding_list</parameter></term>
+     <term><parameter>encoding</parameter></term>
      <listitem>
       <para>
-       <parameter>encoding_list</parameter> - массив (<type>array</type>) или
+       <parameter>encoding</parameter> - массив (<type>array</type>) или
        строка, в которой перечислены кодировки через запятую. См.
        <link linkend="mbstring.supported-encodings">Поддерживаемые кодировки</link>.
       </para>
       <para>
-       Если <parameter>encoding_list</parameter> опущен, функция вернет
+       Если <parameter>encoding</parameter> опущен, функция вернет
        текущий список кодировок в виде массива.
       </para>
       <para>
@@ -81,6 +81,23 @@
    массив кодировок.
   </para>
  </refsect1>
+
+  <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     &mbstring.changelog.encoding-nullable;
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>

  <refsect1 role="examples">
   &reftitle.examples;
@@ -136,7 +153,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-mimeheader.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-mimeheader.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-mimeheader.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 347771 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-encode-mimeheader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,14 +12,14 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>mb_encode_mimeheader</methodname>
-   <methodparam><type>string</type><parameter>str</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>charset</parameter><initializer>mb_language()</initializer></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>transfer_encoding</parameter><initializer>"B"</initializer></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>linefeed</parameter><initializer>"\r\n"</initializer></methodparam>
+   <methodparam><type>string</type><parameter>string</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>charset</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>transfer_encoding</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>newline</parameter><initializer>"\r\n"</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>indent</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
-   Кодирует строку (<parameter>str</parameter>) (<type>string</type>)
+   Кодирует строку (<parameter>string</parameter>) (<type>string</type>)
    по схеме кодирования MIME-заголовка.
   </para>
  </refsect1>
@@ -29,7 +29,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>str</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        Кодируемая строка типа <type>string</type>.
@@ -42,7 +42,7 @@
      <listitem>
       <para>
        <parameter>charset</parameter> задает имя кодировки, в котором
-       представлена строка <parameter>str</parameter>. По умолчанию значение
+       представлена строка <parameter>string</parameter>. По умолчанию значение
        определяется настройкой NLS (<literal>mbstring.language</literal>).
       </para>
      </listitem>
@@ -59,10 +59,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>linefeed</parameter></term>
+     <term><parameter>newline</parameter></term>
      <listitem>
       <para>
-       <parameter>linefeed</parameter> задает метку EOL (конец строки,
+       <parameter>newline</parameter> задает метку EOL (конец строки,
        end-of-line), с помощью которой <function>mb_encode_mimeheader</function>
        осуществляет завершение строк ("line-folding" - термин <link xlink:href="&url.rfc;2822">RFC</link>,
        означающий разделение строк, длина которых превышает заданное значение.
@@ -75,7 +75,7 @@
      <term><parameter>indent</parameter></term>
      <listitem>
       <para>
-       Отступ первой строки (число символов в заголовке перед <parameter>str</parameter>).
+       Отступ первой строки (число символов в заголовке перед <parameter>string</parameter>).
       </para>
      </listitem>
     </varlistentry>
@@ -90,6 +90,29 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>charset</parameter> и <parameter>transfer_encoding</parameter>
+       теперь допускают значение null.
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -131,7 +154,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-numericentity.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-numericentity.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-encode-numericentity.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350656 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352035 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-encode-numericentity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,14 +12,14 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>mb_encode_numericentity</methodname>
-   <methodparam><type>string</type><parameter>str</parameter></methodparam>
-   <methodparam><type>array</type><parameter>convmap</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>is_hex</parameter><initializer>&false;</initializer></methodparam>
+   <methodparam><type>string</type><parameter>string</parameter></methodparam>
+   <methodparam><type>array</type><parameter>map</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>hex</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Преобразует заданные коды символов в строке (<type>string</type>)
-   <parameter>str</parameter> из кодов в числовые HTML-ссылки.
+   <parameter>string</parameter> из кодов в числовые HTML-ссылки.
   </para>
  </refsect1>

@@ -28,7 +28,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>str</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        Кодируемая строка (<type>string</type>).
@@ -36,10 +36,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>convmap</parameter></term>
+     <term><parameter>map</parameter></term>
      <listitem>
       <para>
-       <parameter>convmap</parameter> - массив, задающий диапазон кодов.
+       <parameter>map</parameter> - массив, задающий диапазон кодов.
       </para>
      </listitem>
     </varlistentry>
@@ -50,7 +50,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>is_hex</parameter></term>
+     <term><parameter>hex</parameter></term>
      <listitem>
       <para>
        Должна ли возвращаемая сущность быть представлена в
@@ -68,12 +68,29 @@
    Сконвертированная строка (<type>string</type>).
   </para>
  </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     &mbstring.changelog.encoding-nullable;
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>

  <refsect1 role="examples">
   &reftitle.examples;
   <para>
    <example>
-    <title>Пример <parameter>convmap</parameter></title>
+    <title>Пример использования <parameter>map</parameter></title>
     <programlisting role="php">
 <![CDATA[
 <?php
@@ -90,10 +107,7 @@
     </programlisting>
    </example>
   </para>
- </refsect1>
-
- <refsect1 role="examples">
-  &reftitle.examples;
+
   <para>
    <example>
     <title>Пример использования <function>mb_encode_numericentity</function></title>
@@ -134,7 +148,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-encoding-aliases.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-encoding-aliases.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-encoding-aliases.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: northcat Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: northcat Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
-
 <refentry xml:id="function.mb-encoding-aliases" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>mb_encoding_aliases</refname>
@@ -12,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>array</type><type>false</type></type><methodname>mb_encoding_aliases</methodname>
+   <type>array</type><methodname>mb_encoding_aliases</methodname>
    <methodparam><type>string</type><parameter>encoding</parameter></methodparam>
   </methodsynopsis>
   <para>
@@ -103,7 +102,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -124,4 +122,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-match.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-match.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-match.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344083 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: mch Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <refentry xml:id="function.mb-ereg-match" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -14,7 +14,7 @@
    <type>bool</type><methodname>mb_ereg_match</methodname>
    <methodparam><type>string</type><parameter>pattern</parameter></methodparam>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"msr"</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Совпадение с регулярным выражением для многобайтовой строки
@@ -42,10 +42,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </para>
      </listitem>
     </varlistentry>
@@ -62,6 +62,28 @@
   </simpara>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>options</parameter> теперь допускает значение null.
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="notes">
   &reftitle.notes;

@@ -79,7 +101,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace-callback.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace-callback.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace-callback.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-replace-callback" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,11 +12,11 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>mb_ereg_replace_callback</methodname>
+   <type class="union"><type>string</type><type>false</type><type>null</type></type><methodname>mb_ereg_replace_callback</methodname>
    <methodparam><type>string</type><parameter>pattern</parameter></methodparam>
    <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"msr"</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Проверяет строку <parameter>string</parameter> на совпадение с шаблоном
@@ -75,10 +75,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </para>
      </listitem>
     </varlistentry>
@@ -89,7 +89,9 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Результирующая строка в случае успеха, или &false; в случае ошибки.
+   Результирующая строка в случае успешного выполнения или &false; в случае возникновения ошибки.
+   Если <parameter>string</parameter> некорректна для текущей кодировки,
+   возвращается &null;.
   </para>
  </refsect1>

@@ -99,6 +101,37 @@
   &note.mbstring.encoding.internal;
  </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>options</parameter> теперь допускает значение null.
+       </entry>
+      </row>
+      <row>
+       <entry>7.1.0</entry>
+       <entry>
+        Функция проверяет, корректна ли <parameter>string</parameter>
+        для текущей кодировки.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -172,7 +205,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-replace.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: northcat Status: ready -->
+<!-- EN-Revision: 352031 Maintainer: northcat Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-replace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -11,11 +11,11 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>mb_ereg_replace</methodname>
+   <type class="union"><type>string</type><type>false</type><type>null</type></type><methodname>mb_ereg_replace</methodname>
    <methodparam><type>string</type><parameter>pattern</parameter></methodparam>
    <methodparam><type>string</type><parameter>replacement</parameter></methodparam>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"msr"</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <simpara>
    Сканирует строку <parameter>string</parameter> для поиска совпадений с
@@ -56,10 +56,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <simpara>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </simpara>
      </listitem>
     </varlistentry>
@@ -70,7 +70,9 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Результирующая строка (<type>string</type>) в случае успеха, или &false; в случае ошибки.
+   Результирующая строка в случае успешного выполнения или &false; в случае возникновения ошибки.
+   Если <parameter>string</parameter> некорректна для текущей кодировки,
+   возвращается &null;.
   </para>
  </refsect1>

@@ -87,8 +89,21 @@
      </thead>
      <tbody>
       <row>
+       <entry>8.0.0</entry>
+       <entry>
+        <parameter>options</parameter> теперь допускает значение null.
+       </entry>
+      </row>
+      <row>
        <entry>7.1.0</entry>
        <entry>
+        Функция проверяет, корректна ли <parameter>string</parameter>
+        для текущей кодировки.
+       </entry>
+      </row>
+      <row>
+       <entry>7.1.0</entry>
+       <entry>
         Модификатор <literal>e</literal> объявлен устаревшим.
        </entry>
       </row>
@@ -116,7 +131,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-getregs.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-getregs.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-getregs.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-search-getregs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,7 +13,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>array</type><methodname>mb_ereg_search_getregs</methodname>
+   <type class="union"><type>array</type><type>false</type></type><methodname>mb_ereg_search_getregs</methodname>
    <void/>
   </methodsynopsis>
   <simpara>
@@ -58,7 +58,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-init.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-init.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-init.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344083 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-search-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -16,8 +16,8 @@
   <methodsynopsis>
    <type>bool</type><methodname>mb_ereg_search_init</methodname>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"msr"</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>mb_ereg_search_init</function> задает значения параметров
@@ -50,10 +50,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </para>
      </listitem>
     </varlistentry>
@@ -68,6 +68,30 @@
   </simpara>
  </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>pattern</parameter> и <parameter>options</parameter> теперь допускают значение null.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="notes">
   &reftitle.notes;

@@ -85,7 +109,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344083 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-search-pos" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,9 +14,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>array</type><methodname>mb_ereg_search_pos</methodname>
-   <methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"ms"</initializer></methodparam>
+   <type class="union"><type>array</type><type>false</type></type><methodname>mb_ereg_search_pos</methodname>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Возвращает позицию и длину совпавшего с регулярным выражением участка
@@ -42,10 +42,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </para>
      </listitem>
     </varlistentry>
@@ -65,6 +65,30 @@
   </simpara>
  </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>pattern</parameter> и <parameter>options</parameter> теперь допускают значение null.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="notes">
   &reftitle.notes;

@@ -82,7 +106,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
  Local variables:
  mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351730 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-search-regs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,9 +13,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>array</type><methodname>mb_ereg_search_regs</methodname>
-   <methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"ms"</initializer></methodparam>
+   <type class="union"><type>array</type><type>false</type></type><methodname>mb_ereg_search_regs</methodname>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Возвращает совпавшую с регулярным выражением часть строки.
@@ -35,10 +35,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </para>
      </listitem>
     </varlistentry>
@@ -58,6 +58,30 @@
   </simpara>
  </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>pattern</parameter> и <parameter>options</parameter> теперь допускают значение null.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="notes">
   &reftitle.notes;

@@ -75,7 +99,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-setpos.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-setpos.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search-setpos.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340032 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-search-setpos" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -15,7 +15,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>mb_ereg_search_setpos</methodname>
-   <methodparam><type>int</type><parameter>position</parameter></methodparam>
+   <methodparam><type>int</type><parameter>offset</parameter></methodparam>
   </methodsynopsis>
   <simpara>
    <function>mb_ereg_search_setpos</function> задает начальную позицию, с которой
@@ -29,7 +29,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>position</parameter></term>
+     <term><parameter>offset</parameter></term>
      <listitem>
       <para>
        Устанавливаемая позиция. Если значение отрицательно, отсчет идет с конца строки.
@@ -61,7 +61,7 @@
      <row>
       <entry>7.1.0</entry>
       <entry>
-       Добавлена поддержка отрицательных значений <parameter>position</parameter>.
+       Добавлена поддержка отрицательных значений <parameter>offset</parameter>.
       </entry>
      </row>
     </tbody>
@@ -86,7 +86,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search.xml
===================================================================
--- phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search.xml	2020-12-14 02:24:05 UTC (rev 352060)
+++ phpdoc/ru/trunk/reference/mbstring/functions/mb-ereg-search.xml	2020-12-14 07:02:46 UTC (rev 352061)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344083 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 352028 Maintainer: tmn Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.mb-ereg-search" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -14,8 +14,8 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>mb_ereg_search</methodname>
-   <methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"ms"</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Выполняет поиск соответствий регулярному выражению в многобайтовой строке.
@@ -35,10 +35,10 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>option</parameter></term>
+     <term><parameter>options</parameter></term>
      <listitem>
       <para>
-       Опция поиска. Подробнее см. <function>mb_regex_set_options</function>.
+       Опция поиска. Подробнее смотрите <function>mb_regex_set_options</function>.
       </para>
      </listitem>
     </varlistentry>
@@ -58,6 +58,30 @@
   </simpara>
  </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>pattern</parameter> и <parameter>options</parameter> теперь допускают значение null.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="notes">
   &reftitle.notes;

@@ -75,7 +99,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml