svn: /phpdoc/ru/trunk/ language/predefined/interfaces.xml reference/json/constants.xml reference/json/jsonexception.xml reference/weakref/weakref.xml
| From: | Sergey Panteleev | Date: | Fri, 24 May 2019 04:11:03 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/ language/predefined/interfaces.xml reference/json/constants.xml reference/json/jsonexception.xml reference/weakref/weakref.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-7822@lists.php.net to get a copy of this message | ||
sergey Fri, 24 May 2019 04:11:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=347476
Log:
upd: actual en-revision
Changed paths:
U phpdoc/ru/trunk/language/predefined/interfaces.xml
U phpdoc/ru/trunk/reference/json/constants.xml
U phpdoc/ru/trunk/reference/json/jsonexception.xml
U phpdoc/ru/trunk/reference/weakref/weakref.xml
Modified: phpdoc/ru/trunk/language/predefined/interfaces.xml
===================================================================
--- phpdoc/ru/trunk/language/predefined/interfaces.xml 2019-05-24 01:02:50 UTC (rev 347475)
+++ phpdoc/ru/trunk/language/predefined/interfaces.xml 2019-05-24 04:11:03 UTC (rev 347476)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 337170 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 347473 Maintainer: mch Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -21,6 +21,7 @@
&language.predefined.serializable;
&language.predefined.closure;
&language.predefined.generator;
+ &language.predefined.weakreference;
</part>
Modified: phpdoc/ru/trunk/reference/json/constants.xml
===================================================================
--- phpdoc/ru/trunk/reference/json/constants.xml 2019-05-24 01:02:50 UTC (rev 347475)
+++ phpdoc/ru/trunk/reference/json/constants.xml 2019-05-24 04:11:03 UTC (rev 347476)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 347407 Maintainer: irker Status: ready -->
+<!-- EN-Revision: 347475 Maintainer: irker Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -8,7 +8,8 @@
&extension.constants;
<para>
Следующие константы указывают на тип ошибки,
возвращенной функцией
- <function>json_last_error</function>.
+ <function>json_last_error</function> или хранящейся, как
<varname>code</varname>
+ в <classname>JsonException</classname>.
</para>
<variablelist>
<varlistentry xml:id="constant.json-error-none">
Modified: phpdoc/ru/trunk/reference/json/jsonexception.xml
===================================================================
--- phpdoc/ru/trunk/reference/json/jsonexception.xml 2019-05-24 01:02:50 UTC (rev 347475)
+++ phpdoc/ru/trunk/reference/json/jsonexception.xml 2019-05-24 04:11:03 UTC (rev 347476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345726 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 347475 Maintainer: lex Status: ready -->
<!-- Reviewed: no -->
<phpdoc:exceptionref xml:id="class.jsonexception"
@@ -19,7 +19,8 @@
<para>
Данное исключение выбрасывается, если опция
<constant>JSON_THROW_ON_ERROR</constant>
установлена для функции <function>json_encode</function>
или
- <function>json_decode</function>.
+ <function>json_decode</function>. <varname>code</varname>
содержит тип
+ ошибки, смотрите возможные значения
<function>json_last_error</function>.
</para>
</section>
<!-- }}} -->
Modified: phpdoc/ru/trunk/reference/weakref/weakref.xml
===================================================================
--- phpdoc/ru/trunk/reference/weakref/weakref.xml 2019-05-24 01:02:50 UTC (rev 347475)
+++ phpdoc/ru/trunk/reference/weakref/weakref.xml 2019-05-24 04:11:03 UTC (rev 347476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324645 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 347473 Maintainer: lex Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc"
xml:id="class.weakref" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -16,6 +16,12 @@
Класс WeakRef предоставляет способ доступа к объекту,
не влияя при этом на количество ссылок на него, таким
образом сборщик мусора сможет освободить этот объект.
Это также дает возможность превратить слабую
ссылку в сильную.
</para>
+ <note>
+ <para>
+ Класс <classname>WeakRef</classname> не следует путать с
классом
+ <classname>WeakReference</classname>.
+ </para>
+ </note>
</section>
<!-- }}} -->