svn: /phpdoc/ru/trunk/ appendices/resources.xml reference/shmop/functions/shmop-close.xml reference/shmop/functions/shmop-delete.xml reference/shmop/functions/shmop-open.xml reference/shmop/functions/shmop-read.xml reference/shmop/functions/shmop-size.xml reference/shmop/functions/shmop-write.xml reference/shmop/setup.xml

[email protected] (Sergey Panteleev) Mon, 23 Nov 2020 05:43:53 +0000
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Mon, 23 Nov 2020 05:43:53 +0000

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

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/appendices/resources.xml
    U   phpdoc/ru/trunk/reference/shmop/functions/shmop-close.xml
    U   phpdoc/ru/trunk/reference/shmop/functions/shmop-delete.xml
    U   phpdoc/ru/trunk/reference/shmop/functions/shmop-open.xml
    U   phpdoc/ru/trunk/reference/shmop/functions/shmop-read.xml
    U   phpdoc/ru/trunk/reference/shmop/functions/shmop-size.xml
    U   phpdoc/ru/trunk/reference/shmop/functions/shmop-write.xml
    U   phpdoc/ru/trunk/reference/shmop/setup.xml
svn-diffs-351526.txt (text/x-diff, 16.2 KB)
Modified: phpdoc/ru/trunk/appendices/resources.xml
===================================================================
--- phpdoc/ru/trunk/appendices/resources.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/appendices/resources.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351472 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: shein Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <appendix xml:id="resource" xmlns="http://docbook.org/ns/docbook">
@@ -1911,7 +1911,7 @@
       <entry>
        <function>shmop_close</function>
       </entry>
-      <entry>Управление блоком рязделяемой памяти (С версии PHP 7.0.0)</entry>
+      <entry>Управление блоком рязделяемой памяти (До версии PHP 8.0.0)</entry>
      </row>
      <row>
       <entry>Socket</entry>

Modified: phpdoc/ru/trunk/reference/shmop/functions/shmop-close.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/functions/shmop-close.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/functions/shmop-close.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340948 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.shmop-close" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>void</type><methodname>shmop_close</methodname>
-   <methodparam><type>resource</type><parameter>shmid</parameter></methodparam>
+   <methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>shmop_close</function> используется для завершения доступа к
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>shmid</parameter></term>
+     <term><parameter>shmop</parameter></term>
      <listitem>
       <para>
        Ресурс блока памяти, возвращаемый функцией <function>shmop_open</function>
@@ -52,10 +52,9 @@
     </thead>
     <tbody>
      <row>
-      <entry>7.0.0</entry>
+      <entry>8.0.0</entry>
       <entry>
-       Тип <parameter>shmid</parameter> был изменен с <type>int</type>
-       на <type>resource</type>.
+       Параметр <parameter>shmop</parameter> ожидает экземпляр <classname>Shmop</classname>; ранее ожидался ресурс (<type>resource</type>).
       </entry>
      </row>
     </tbody>
@@ -91,7 +90,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/shmop/functions/shmop-delete.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/functions/shmop-delete.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/functions/shmop-delete.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340948 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.shmop-delete" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>shmop_delete</methodname>
-   <methodparam><type>resource</type><parameter>shmid</parameter></methodparam>
+   <methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>shmop_delete</function> используется для удаления блока
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>shmid</parameter></term>
+     <term><parameter>shmop</parameter></term>
      <listitem>
       <para>
        Ресурс блока памяти, возвращаемый функцией <function>shmop_open</function>
@@ -52,10 +52,9 @@
     </thead>
     <tbody>
      <row>
-      <entry>7.0.0</entry>
+      <entry>8.0.0</entry>
       <entry>
-       Тип <parameter>shmid</parameter> был изменен с <type>int</type>
-       на <type>resource</type>.
+       Параметр <parameter>shmop</parameter> ожидает экземпляр <classname>Shmop</classname>; ранее ожидался ресурс (<type>resource</type>).
       </entry>
      </row>
     </tbody>
@@ -83,7 +82,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/shmop/functions/shmop-open.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/functions/shmop-open.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/functions/shmop-open.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340948 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.shmop-open" xmlns="http://docbook.org/ns/docbook">
@@ -10,10 +10,10 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>resource</type><methodname>shmop_open</methodname>
+   <type class="union"><type>Shmop</type><type>false</type></type><methodname>shmop_open</methodname>
    <methodparam><type>int</type><parameter>key</parameter></methodparam>
-   <methodparam><type>string</type><parameter>flags</parameter></methodparam>
-   <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+   <methodparam><type>string</type><parameter>mode</parameter></methodparam>
+   <methodparam><type>int</type><parameter>permissions</parameter></methodparam>
    <methodparam><type>int</type><parameter>size</parameter></methodparam>
   </methodsynopsis>
   <para>
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>flags</parameter></term>
+     <term><parameter>mode</parameter></term>
      <listitem>
       <para>
        Доступные для использования флаги:
@@ -81,7 +81,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>mode</parameter></term>
+     <term><parameter>permissions</parameter></term>
      <listitem>
       <para>
        Права доступа к участку памяти такие же, как к обычному файлу.
@@ -109,9 +109,9 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   При успешном выполнении <function>shmop_open</function> возвращается
-   роесурс, который может быть в дальнейшем использован для доступа
-   к зарезервированному участку памяти.
+   В случае успешного выполнения <function>shmop_open</function> возвращает
+   экземпляр <classname>Shmop</classname>, который может быть в дальнейшем использован для доступа
+   к зарезервированному участку памяти. В случае возникновения ошибки возвращает &false;.
   </para>
  </refsect1>
  <refsect1 role="changelog">
@@ -126,10 +126,10 @@
     </thead>
     <tbody>
      <row>
-      <entry>7.0.0</entry>
+      <entry>8.0.0</entry>
       <entry>
-       Тип <parameter>shmid</parameter> был изменен с <type>int</type>
-       на <type>resource</type>.
+       В случае успешного выполнения возвращается экземпляр <classname>Shmop</classname>;
+       ранее возвращался ресурс (<type>resource</type>).
       </entry>
      </row>
     </tbody>
@@ -167,7 +167,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/shmop/functions/shmop-read.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/functions/shmop-read.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/functions/shmop-read.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351135 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.shmop-read" xmlns="http://docbook.org/ns/docbook">
@@ -10,10 +10,10 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>string</type><type>false</type></type><methodname>shmop_read</methodname>
-   <methodparam><type>resource</type><parameter>shmid</parameter></methodparam>
-   <methodparam><type>int</type><parameter>start</parameter></methodparam>
-   <methodparam><type>int</type><parameter>count</parameter></methodparam>
+   <type>string</type><methodname>shmop_read</methodname>
+   <methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
+   <methodparam><type>int</type><parameter>offset</parameter></methodparam>
+   <methodparam><type>int</type><parameter>size</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>shmop_read</function> возвращает строковые данные, хранимые
@@ -25,7 +25,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>shmid</parameter></term>
+     <term><parameter>shmop</parameter></term>
      <listitem>
       <para>
        Ресурс блока памяти, возвращаемый функцией <function>shmop_open</function>
@@ -33,7 +33,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>start</parameter></term>
+     <term><parameter>offset</parameter></term>
      <listitem>
       <para>
        Определяет, с какой позиции начинать чтение данных.
@@ -41,7 +41,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>count</parameter></term>
+     <term><parameter>size</parameter></term>
      <listitem>
       <para>
        Количество байт для чтения.
@@ -71,10 +71,9 @@
     </thead>
     <tbody>
      <row>
-      <entry>7.0.0</entry>
+      <entry>8.0.0</entry>
       <entry>
-       Тип <parameter>shmid</parameter> был изменен с <type>int</type>
-       на <type>resource</type>.
+       Параметр <parameter>shmop</parameter> ожидает экземпляр <classname>Shmop</classname>; ранее ожидался ресурс (<type>resource</type>).
       </entry>
      </row>
     </tbody>
@@ -111,7 +110,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/shmop/functions/shmop-size.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/functions/shmop-size.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/functions/shmop-size.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340948 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.shmop-size" xmlns="http://docbook.org/ns/docbook">
@@ -9,9 +9,9 @@
  </refnamediv>
  <refsect1 role="description">
   &reftitle.description;
-  <methodsynopsis>
+ <methodsynopsis>
    <type>int</type><methodname>shmop_size</methodname>
-   <methodparam><type>resource</type><parameter>shmid</parameter></methodparam>
+   <methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>shmop_size</function> используется для получения размера
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>shmid</parameter></term>
+     <term><parameter>shmop</parameter></term>
      <listitem>
       <para>
        Ресурс блока памяти, возвращаемый функцией <function>shmop_open</function>
@@ -53,10 +53,9 @@
     </thead>
     <tbody>
      <row>
-      <entry>7.0.0</entry>
+      <entry>8.0.0</entry>
       <entry>
-       Тип <parameter>shmid</parameter> был изменен с <type>int</type>
-       на <type>resource</type>.
+       Параметр <parameter>shmop</parameter> ожидает экземпляр <classname>Shmop</classname>; ранее ожидался ресурс (<type>resource</type>).
       </entry>
      </row>
     </tbody>
@@ -84,7 +83,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/shmop/functions/shmop-write.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/functions/shmop-write.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/functions/shmop-write.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340948 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="function.shmop-write" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>int</type><methodname>shmop_write</methodname>
-   <methodparam><type>resource</type><parameter>shmid</parameter></methodparam>
+   <methodparam><type>Shmop</type><parameter>shmop</parameter></methodparam>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
   </methodsynopsis>
@@ -25,7 +25,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>shmid</parameter></term>
+     <term><parameter>shmop</parameter></term>
      <listitem>
       <para>
        Ресурс блока памяти, возвращаемый функцией <function>shmop_open</function>
@@ -72,10 +72,9 @@
     </thead>
     <tbody>
      <row>
-      <entry>7.0.0</entry>
+      <entry>8.0.0</entry>
       <entry>
-       Тип <parameter>shmid</parameter> был изменен с <type>int</type>
-       на <type>resource</type>.
+       Параметр <parameter>shmop</parameter> ожидает экземпляр <classname>Shmop</classname>; ранее ожидался ресурс (<type>resource</type>).
       </entry>
      </row>
     </tbody>
@@ -113,7 +112,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/shmop/setup.xml
===================================================================
--- phpdoc/ru/trunk/reference/shmop/setup.xml	2020-11-23 04:55:50 UTC (rev 351525)
+++ phpdoc/ru/trunk/reference/shmop/setup.xml	2020-11-23 05:43:53 UTC (rev 351526)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 340367 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351506 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->

@@ -28,7 +28,7 @@
  <section xml:id="shmop.resources">
   &reftitle.resources;
   <simpara>
-   С PHP 7.0.0, модуль задает тип ресурса <literal>shmop</literal>, являющийся
+   До PHP 8.0.0, модуль задает тип ресурса <literal>shmop</literal>, являющийся
    обработчиком блока разделяемой памяти.
   </simpara>
  </section>