svn: /phpdoc/ru/trunk/ appendices/migration73/other-changes.xml language/variables.xml reference/enchant/functions/enchant-broker-describe.xml reference/enchant/functions/enchant-broker-list-dicts.xml reference/opcache/ini.xml

[email protected] (Sergey Panteleev)
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Sun, 03 May 2020 02:59:14 +0000

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

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/appendices/migration73/other-changes.xml
    U   phpdoc/ru/trunk/language/variables.xml
    U   phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml
    U   phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml
    U   phpdoc/ru/trunk/reference/opcache/ini.xml

Modified: phpdoc/ru/trunk/appendices/migration73/other-changes.xml
===================================================================
--- phpdoc/ru/trunk/appendices/migration73/other-changes.xml	2020-05-02 16:52:39 UTC (rev 349735)
+++ phpdoc/ru/trunk/appendices/migration73/other-changes.xml	2020-05-03 02:59:14 UTC (rev 349736)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348566 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 349732 Maintainer: lex Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->

 <sect1 xml:id="migration73.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -246,7 +246,7 @@
   <para>
    Базы данных SQLite3 теперь можно открыть в режиме только для чтения,
    установив новый атрибут <constant>PDO::SQLITE_ATTR_OPEN_FLAGS</constant>
-   на значение <constant>PDO::SQLITE_READONLY</constant>.
+   на значение <constant>PDO::SQLITE_OPEN_READONLY</constant>.
   </para>
  </sect2>


Modified: phpdoc/ru/trunk/language/variables.xml
===================================================================
--- phpdoc/ru/trunk/language/variables.xml	2020-05-02 16:52:39 UTC (rev 349735)
+++ phpdoc/ru/trunk/language/variables.xml	2020-05-03 02:59:14 UTC (rev 349736)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347269 Maintainer: sergey Status: ready -->
+<!-- EN-Revision: 349734 Maintainer: sergey Status: ready -->
 <!-- Reviewed: no -->

 <chapter xml:id="language.variables" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -218,7 +218,7 @@
    <para>
     До PHP 5.4, доступен старый способ доступа к информации связанной с
     HTTP-запросом, с помощью переменных <literal>HTTP_*_VARS</literal>.
-    Эта возможность может быьт отключена с помощью директивы
+    Эта возможность может быть отключена с помощью директивы
     <link linkend="ini.register-long-arrays">register_long_arrays</link>
     начиная с PHP 5.0.0.
    </para>
@@ -543,12 +543,14 @@
 <?php
 function test_global_ref() {
     global $obj;
-    $obj = &new stdclass;
+    $new = new stdclass;
+    $obj = &$new;
 }

 function test_global_noref() {
     global $obj;
-    $obj = new stdclass;
+    $new = new stdclass;
+    $obj = $new;
 }

 test_global_ref();
@@ -563,9 +565,11 @@
    &example.outputs;

    <screen>
-    NULL
-    object(stdClass)(0) {
-    }
+<![CDATA[
+NULL
+object(stdClass)#1 (0) {
+}
+]]>
    </screen>

    <simpara>
@@ -583,10 +587,15 @@
     echo 'Статический объект: ';
     var_dump($obj);
     if (!isset($obj)) {
+        $new = new stdclass;
         // Присвоить ссылку статической переменной
-        $obj = &new stdclass;
+        $obj = &$new;
     }
-    $obj->property++;
+    if (!isset($obj->property)) {
+        $obj->property = 1;
+    } else {
+        $obj->property++;
+    }
     return $obj;
 }

@@ -596,10 +605,15 @@
     echo 'Статический объект: ';
     var_dump($obj);
     if (!isset($obj)) {
+        $new = new stdclass;
         // Присвоить объект статической переменной
-        $obj = new stdclass;
+        $obj = $new;
     }
-    $obj->property++;
+    if (!isset($obj->property)) {
+        $obj->property = 1;
+    } else {
+        $obj->property++;
+    }
     return $obj;
 }

@@ -614,14 +628,16 @@
    </informalexample>
    &example.outputs;
    <screen>
-    Статический объект: NULL
-    Статический объект: NULL
-
-    Статический объект: NULL
-    Статический объект: object(stdClass)(1) {
-    ["property"]=>
-    int(1)
-    }
+<![CDATA[
+Статический объект: NULL
+Статический объект: NULL
+
+Статический объект: NULL
+Статический объект: object(stdClass)#3 (1) {
+  ["property"]=>
+  int(1)
+}
+]]>
    </screen>

    <simpara>

Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml	2020-05-02 16:52:39 UTC (rev 349735)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml	2020-05-03 02:59:14 UTC (rev 349736)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349733 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->

 <refentry xml:id="function.enchant-broker-describe" xmlns="http://docbook.org/ns/docbook">
@@ -37,6 +37,8 @@
  </refsect1>

  <refsect1 role="returnvalues">
+  Возвращает массив (&array;) доступных провайдеров Enchant с их реквизитами &return.falseforfailure;.
+
   &reftitle.returnvalues;
   <para>
    &return.success;

Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml	2020-05-02 16:52:39 UTC (rev 349735)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml	2020-05-03 02:59:14 UTC (rev 349736)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349733 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->

 <refentry xml:id="function.enchant-broker-list-dicts" xmlns="http://docbook.org/ns/docbook">
@@ -38,7 +38,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   &return.success;
+   Возвращает массив (&array;) доступных словарей с их данными &return.falseforfailure;.
   </para>
  </refsect1>


Modified: phpdoc/ru/trunk/reference/opcache/ini.xml
===================================================================
--- phpdoc/ru/trunk/reference/opcache/ini.xml	2020-05-02 16:52:39 UTC (rev 349735)
+++ phpdoc/ru/trunk/reference/opcache/ini.xml	2020-05-03 02:59:14 UTC (rev 349736)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349606 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349735 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: lex -->

 <sect1 xml:id="opcache.configuration" xmlns="http://docbook.org/ns/docbook">
@@ -327,7 +327,7 @@
      <para>
       Максимальное количество ключей (и, соответственно, скриптов) в хеш-таблице
       OPcache. Фактическое используемое значение будет первым числом из набора
-      <literal>{ 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987 }</literal>,
+      <literal>{ 223, 463, 983, 1979, 3907, 7963, 16229, 32531, 65407, 130987, 262237, 524521, 1048793 }</literal>,
       которое больше или равно заданному в этом параметре.
       Минимум 200, максимум 100000 в PHP &lt; 5.5.6
       и 1000000 в более поздних версиях.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.