Add deprecation of money_format

Patch provided by Gert de Pagter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349216 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-02-12 13:17:01 +00:00
parent 852978ed89
commit c00e972108

View file

@ -6,6 +6,10 @@
<refpurpose>Formats a number as a currency string</refpurpose>
</refnamediv>
<refsynopsisdiv>
&warn.deprecated.function-7-4-0;
</refsynopsisdiv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@ -229,6 +233,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>
This function has been deprecated. Instead,
use <methodname>NumberFormatter::formatCurrency</methodname>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<note>