From c00e972108a750579c5cb5139961794c1fff2f54 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 12 Feb 2020 13:17:01 +0000 Subject: [PATCH] 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 --- reference/strings/functions/money-format.xml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/reference/strings/functions/money-format.xml b/reference/strings/functions/money-format.xml index 8ef0050adf..2071cc8255 100644 --- a/reference/strings/functions/money-format.xml +++ b/reference/strings/functions/money-format.xml @@ -6,6 +6,10 @@ Formats a number as a currency string + + &warn.deprecated.function-7-4-0; + + &reftitle.description; @@ -229,6 +233,31 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 7.4.0 + + This function has been deprecated. Instead, + use NumberFormatter::formatCurrency. + + + + + + + + &reftitle.notes;