Doc #51151 [Opn->Csd]: Example is wrong

From: Date: Sun, 14 Mar 2010 22:26:01 +0000
Subject: Doc #51151 [Opn->Csd]: Example is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4045@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51151&edit=1 ID: 51151 Updated by: kalle@php.net Reported by: me at johnbain dot org Summary: Example is wrong -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: kalle New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-03-14 23:25:58] kalle@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=296206 Log: Fixed bug #51151 (Example is wrong) ------------------------------------------------------------------------ [2010-02-26 00:17:00] me at johnbain dot org Description: ------------ In the example section, the output of: // Italian national format with 2 decimals` setlocale(LC_MONETARY, 'it_IT'); echo money_format('%.2n', $number) . "\n"; // L. 1.234,56 is actually Eu 1.234,56 due to the introduction of the Euro Currency. Reproduce code: --------------- --- From manual page: http://www.php.net/function.money-format#Examples --- // Italian national format with 2 decimals` setlocale(LC_MONETARY, 'it_IT'); echo money_format('%.2n', $number) . "\n"; // L. 1.234,56 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51151&edit=1

« previous php.doc.bugs (#4045) next »