svn: /phpdoc/ru/trunk/reference/ classobj/functions/method-exists.xml json/jsonserializable/jsonserialize.xml opcache/functions/opcache-compile-file.xml opcache/functions/opcache-get-configuration.xml opcache/functions/opcache-get-status.xml opcache/functions/opcache-invalidate.xml opcache/functions/opcache-is-script-cached.xml opcache/ini.xml tokenizer/functions/token-get-all.xml tokenizer/functions/token-name.xml

[email protected] (Sergey Panteleev) Wed, 18 Nov 2020 10:44:07 +0000
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Wed, 18 Nov 2020 10:44:07 +0000

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

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/reference/classobj/functions/method-exists.xml
    U   phpdoc/ru/trunk/reference/json/jsonserializable/jsonserialize.xml
    U   phpdoc/ru/trunk/reference/opcache/functions/opcache-compile-file.xml
    U   phpdoc/ru/trunk/reference/opcache/functions/opcache-get-configuration.xml
    U   phpdoc/ru/trunk/reference/opcache/functions/opcache-get-status.xml
    U   phpdoc/ru/trunk/reference/opcache/functions/opcache-invalidate.xml
    U   phpdoc/ru/trunk/reference/opcache/functions/opcache-is-script-cached.xml
    U   phpdoc/ru/trunk/reference/opcache/ini.xml
    U   phpdoc/ru/trunk/reference/tokenizer/functions/token-get-all.xml
    U   phpdoc/ru/trunk/reference/tokenizer/functions/token-name.xml
svn-diffs-351421.txt (text/x-diff, 17.6 KB)
Modified: phpdoc/ru/trunk/reference/classobj/functions/method-exists.xml
===================================================================
--- phpdoc/ru/trunk/reference/classobj/functions/method-exists.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/classobj/functions/method-exists.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 308016 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351409 Maintainer: shein Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.method-exists" xmlns="http://docbook.org/ns/docbook">
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>method_exists</methodname>
-   <methodparam><type>mixed</type><parameter>object</parameter></methodparam>
+   <methodparam><type class="union"><type>string</type><type>object</type></type><parameter>object</parameter></methodparam>
    <methodparam><type>string</type><parameter>method_name</parameter></methodparam>
   </methodsynopsis>
   <para>

Modified: phpdoc/ru/trunk/reference/json/jsonserializable/jsonserialize.xml
===================================================================
--- phpdoc/ru/trunk/reference/json/jsonserializable/jsonserialize.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/json/jsonserializable/jsonserialize.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347247 Maintainer: sergey Status: ready -->
+<!-- EN-Revision: 351406 Maintainer: sergey Status: ready -->
 <!-- Reviewed: no -->
-
 <refentry xml:id="jsonserializable.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>JsonSerializable::jsonSerialize</refname>
@@ -13,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <modifier>abstract</modifier> <modifier>public</modifier> <type>mixed</type><methodname>JsonSerializable::jsonSerialize</methodname>
-   <void />
+   <void/>
   </methodsynopsis>
   <para>
    Сериализует объект в значение, которое изначально может быть сериализовано
@@ -165,7 +164,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/opcache/functions/opcache-compile-file.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/functions/opcache-compile-file.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/opcache/functions/opcache-compile-file.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343889 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
-
 <refentry xml:id="function.opcache-compile-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>opcache_compile_file</refname>
@@ -13,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>opcache_compile_file</methodname>
-   <methodparam><type>string</type><parameter>file</parameter></methodparam>
+   <methodparam><type>string</type><parameter>filename</parameter></methodparam>
   </methodsynopsis>
   <para>
    Эта функция компилирует PHP-скрипт и помещает его в кеш опкодов, но
@@ -26,7 +25,7 @@
   &reftitle.parameters;
   <variablelist>
    <varlistentry>
-    <term><parameter>file</parameter></term>
+    <term><parameter>filename</parameter></term>
     <listitem>
      <para>
       Путь к скрипту PHP.
@@ -39,7 +38,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Возвращает &true;, если <parameter>file</parameter> успешно скомпилирован
+   Возвращает &true;, если <parameter>filename</parameter> успешно скомпилирован
    &return.falseforfailure;.
   </para>
  </refsect1>
@@ -47,7 +46,7 @@
  <refsect1 role="errors">
   &reftitle.errors;
   <para>
-   Если <parameter>file</parameter> не может быть загружен или скомпилирован,
+   Если <parameter>filename</parameter> не может быть загружен или скомпилирован,
    будет выдана ошибка уровня <constant>E_WARNING</constant>. Для подавления
    предупреждения можно использовать <link linkend="language.operators.errorcontrol">@</link>.
   </para>
@@ -62,7 +61,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/opcache/functions/opcache-get-configuration.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/functions/opcache-get-configuration.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/opcache/functions/opcache-get-configuration.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 332285 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
-
 <refentry xml:id="function.opcache-get-configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>opcache_get_configuration</refname>
@@ -12,8 +11,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>array</type><methodname>opcache_get_configuration</methodname>
-   <void />
+   <type class="union"><type>array</type><type>false</type></type><methodname>opcache_get_configuration</methodname>
+   <void/>
   </methodsynopsis>
   <para>
    Эта функция возвращает настройки конфигурации экземпляра кеша.
@@ -46,7 +45,6 @@
  </refsect1>

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

Modified: phpdoc/ru/trunk/reference/opcache/functions/opcache-get-status.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/functions/opcache-get-status.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/opcache/functions/opcache-get-status.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
-
 <refentry xml:id="function.opcache-get-status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>opcache_get_status</refname>
@@ -13,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type class="union"><type>array</type><type>false</type></type><methodname>opcache_get_status</methodname>
-   <methodparam choice="opt"><type>bool</type><parameter>get_scripts</parameter><initializer>&true;</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>include_scripts</parameter><initializer>&true;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Эта функция возвращает информацию о состоянии экземпляра кеша
@@ -24,7 +23,7 @@
   &reftitle.parameters;
   <variablelist>
    <varlistentry>
-    <term><parameter>get_scripts</parameter></term>
+    <term><parameter>include_scripts</parameter></term>
     <listitem>
      <para>
       Включить информацию о состоянии конкретного скрипта
@@ -61,7 +60,6 @@
  </refsect1>

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

Modified: phpdoc/ru/trunk/reference/opcache/functions/opcache-invalidate.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/functions/opcache-invalidate.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/opcache/functions/opcache-invalidate.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343890 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
-
 <refentry xml:id="function.opcache-invalidate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>opcache_invalidate</refname>
@@ -13,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>opcache_invalidate</methodname>
-   <methodparam><type>string</type><parameter>script</parameter></methodparam>
+   <methodparam><type>string</type><parameter>filename</parameter></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>force</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
@@ -27,7 +26,7 @@
   &reftitle.parameters;
   <variablelist>
    <varlistentry>
-    <term><parameter>script</parameter></term>
+    <term><parameter>filename</parameter></term>
     <listitem>
      <para>
       Путь к скрипту.
@@ -49,7 +48,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Возвращает &true;, если кеш опкодов для <parameter>script</parameter>
+   Возвращает &true;, если кеш опкодов для <parameter>filename</parameter>
    аннулирован, либо если аннулировать нечего. В случае, если кеш опкодов
    отключен, возвращается &false;.
   </para>
@@ -65,7 +64,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/opcache/functions/opcache-is-script-cached.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/functions/opcache-is-script-cached.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/opcache/functions/opcache-is-script-cached.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343889 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351408 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
-
 <refentry xml:id="function.opcache-is-script-cached" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>opcache_is_script_cached</refname>
@@ -13,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>opcache_is_script_cached</methodname>
-   <methodparam><type>string</type><parameter>file</parameter></methodparam>
+   <methodparam><type>string</type><parameter>filename</parameter></methodparam>
   </methodsynopsis>
   <para>
    Эта функция проверяет, закеширован ли указанный скрипт в OPCache.
@@ -25,7 +24,7 @@
   &reftitle.parameters;
   <variablelist>
    <varlistentry>
-    <term><parameter>file</parameter></term>
+    <term><parameter>filename</parameter></term>
     <listitem>
      <para>
       Путь к файлу скрипта.
@@ -38,7 +37,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Возвращает &true;, если <parameter>file</parameter> закеширован в OPCache,
+   Возвращает &true;, если <parameter>filename</parameter> закеширован в OPCache,
    &false; если нет.
   </para>
  </refsect1>
@@ -52,7 +51,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ru/trunk/reference/opcache/ini.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/ini.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/opcache/ini.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351205 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351415 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->

 <sect1 xml:id="opcache.configuration" xmlns="http://docbook.org/ns/docbook">
@@ -445,7 +445,7 @@
     <listitem>
      <para>
       Максимальное значение потерянной памяти (в процентах) после которого планируется
-      перезапуск.
+      перезапуск, если недостаточно свободной памяти.
       Максимально допустимое значение: <literal>"50"</literal>,
       которое применяется, если установлено большее значение.
      </para>
@@ -667,6 +667,9 @@
       задать равным 2 или больше, то, при возникновении подобной ситуации,
       в лог ошибок будет записано предупреждение.
      </para>
+     <para>
+      Директива не поддерживается в Windows.
+     </para>
     </listitem>
    </varlistentry>
    <varlistentry xml:id="ini.opcache.error-log">
@@ -855,7 +858,7 @@
      <caution>
       <simpara>
        Отключение этой опции конфигурации может помешать запуску процессов, и поэтому не рекомендуется.
-           </simpara>
+      </simpara>
      </caution>
     </listitem>
    </varlistentry>

Modified: phpdoc/ru/trunk/reference/tokenizer/functions/token-get-all.xml
===================================================================
--- phpdoc/ru/trunk/reference/tokenizer/functions/token-get-all.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/tokenizer/functions/token-get-all.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350654 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351416 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.token-get-all" xmlns="http://docbook.org/ns/docbook">
@@ -11,11 +11,11 @@
   &reftitle.description;
   <methodsynopsis>
    <type>array</type><methodname>token_get_all</methodname>
-   <methodparam><type>string</type><parameter>source</parameter></methodparam>
+   <methodparam><type>string</type><parameter>code</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
-   Функция <function>token_get_all</function> разбирает переданную строку <parameter>source</parameter>
+   Функция <function>token_get_all</function> разбирает переданную строку <parameter>code</parameter>
    в языковые лексемы PHP, используя лексический сканер Zend Engine.
   </para>
   <para>
@@ -29,7 +29,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>source</parameter></term>
+     <term><parameter>code</parameter></term>
      <listitem>
       <para>
        Исходный код PHP для разбора.

Modified: phpdoc/ru/trunk/reference/tokenizer/functions/token-name.xml
===================================================================
--- phpdoc/ru/trunk/reference/tokenizer/functions/token-name.xml	2020-11-18 00:04:47 UTC (rev 351420)
+++ phpdoc/ru/trunk/reference/tokenizer/functions/token-name.xml	2020-11-18 10:44:07 UTC (rev 351421)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 312354 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351416 Maintainer: aur Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->
 <!-- $Revision$ -->
 <refentry xml:id="function.token-name" xmlns="http://docbook.org/ns/docbook">
@@ -11,11 +11,11 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>token_name</methodname>
-   <methodparam><type>int</type><parameter>token</parameter></methodparam>
+   <methodparam><type>int</type><parameter>id</parameter></methodparam>
   </methodsynopsis>
   <para>
    Функция <function>token_name</function> получает символьное имя для значения PHP-лексемы
-   <parameter>token</parameter>.
+   <parameter>id</parameter>.
   </para>
  </refsect1>
  <refsect1 role="parameters">
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>token</parameter></term>
+     <term><parameter>id</parameter></term>
      <listitem>
       <para>
        Значение лексемы.
@@ -36,7 +36,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Символьное значение для переданной лексемы <parameter>token</parameter>.
+   Символьное значение для переданной лексемы <parameter>id</parameter>.
   </para>
  </refsect1>
  <refsect1 role="examples">
@@ -67,7 +67,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml