svn: /phpdoc/ru/trunk/reference/ ffi/ffi/load.xml strings/functions/money-format.xml

[email protected] (Sergey Panteleev)
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Thu, 13 Feb 2020 07:12:30 +0000

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

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/reference/ffi/ffi/load.xml
    U   phpdoc/ru/trunk/reference/strings/functions/money-format.xml

Modified: phpdoc/ru/trunk/reference/ffi/ffi/load.xml
===================================================================
--- phpdoc/ru/trunk/reference/ffi/ffi/load.xml	2020-02-12 15:38:23 UTC (rev 349217)
+++ phpdoc/ru/trunk/reference/ffi/ffi/load.xml	2020-02-13 07:12:30 UTC (rev 349218)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349001 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 349215 Maintainer: rjhdby Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->

 <refentry xml:id="ffi.load" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -32,13 +32,25 @@
      <para>
       Имя заголовочного файла C.
      </para>
-     <note>
-      <para>
-       Директивы сопроцессора С не поддерживаются. Т.е.
-       <code>#include</code>, <code>#define</code> и макросы CPP
-       работать не будут.
-      </para>
-     </note>
+     <para>
+      Директивы сопроцессора С не поддерживаются. Т.е.
+      <code>#include</code>, <code>#define</code> и макросы CPP
+      работать не будут, за исключением особых случаев,
+      перечисленных ниже.
+     </para>
+     <para>
+      Заголовочный файл <emphasis>должен</emphasis> содержать оператор <literal>#define</literal>
+      для переменной <literal>FFI_SCOPE</literal>, например, <code>#define FFI_SCOPE "MYLIB"</code>.
+      За подробностями обратитесь к <link linkend="ffi.intro">Введению в FFI</link>.
+     </para>
+     <para>
+      Заголовочный файл <emphasis>может</emphasis> содержать оператор <literal>#define</literal> для переменной
+      <literal>FFI_LIB</literal>, чтобы указать библиотеку, которую он раскрывает. Если это
+      системная библиотека, требуется только имя файла, например:
+<code>#define FFI_LIB
+      "libc.so.6"</code>.  Если это пользовательская библиотека, требуется относительный путь,
+      например: <code>#define FFI_LIB "./mylib.so"</code>.
+     </para>
     </listitem>
    </varlistentry>
   </variablelist>
@@ -53,11 +65,11 @@

  <refsect1 role="seealso">
   &reftitle.seealso;
-   <para>
-    <simplelist>
-     <member><methodname>FFI::scope</methodname></member>
-    </simplelist>
-   </para>
+  <para>
+   <simplelist>
+    <member><methodname>FFI::scope</methodname></member>
+   </simplelist>
+  </para>
  </refsect1>

 </refentry>

Modified: phpdoc/ru/trunk/reference/strings/functions/money-format.xml
===================================================================
--- phpdoc/ru/trunk/reference/strings/functions/money-format.xml	2020-02-12 15:38:23 UTC (rev 349217)
+++ phpdoc/ru/trunk/reference/strings/functions/money-format.xml	2020-02-13 07:12:30 UTC (rev 349218)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 348336 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 349216 Maintainer: shein Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.money-format">
@@ -8,6 +8,10 @@
   <refpurpose>Форматирует число как денежную величину</refpurpose>
  </refnamediv>

+ <refsynopsisdiv>
+  &warn.deprecated.function-7-4-0;
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -227,6 +231,30 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>7.4.0</entry>
+       <entry>
+        Функция устарела. Вместо нее используйте <methodname>NumberFormatter::formatCurrency</methodname>.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="notes">
   &reftitle.notes;
   <note>
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.