svn: /phpdoc/ja/trunk/reference/strings/functions/ money-format.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 12 Feb 2020 15:38:23 +0000

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

Log:
Add deprecation of money_format

Patch provided by Gert de Pagter.

Changed paths:
    U   phpdoc/ja/trunk/reference/strings/functions/money-format.xml

Modified: phpdoc/ja/trunk/reference/strings/functions/money-format.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/money-format.xml	2020-02-12 13:17:01 UTC (rev 349216)
+++ phpdoc/ja/trunk/reference/strings/functions/money-format.xml	2020-02-12 15:38:23 UTC (rev 349217)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348336 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349216 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.money-format">
  <refnamediv>
   <refname>money_format</refname>
@@ -7,6 +8,10 @@
   <refpurpose>数値を金額文字列にフォーマットする</refpurpose>
  </refnamediv>

+ <refsynopsisdiv>
+   &warn.deprecated.function-7-4-0;
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -225,6 +230,31 @@
   </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.