|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67456 NumberFormatter Russian Nummer 200 spellout wrong
Submitted: 2014-06-16 21:39 UTC Modified: 2014-12-30 10:42 UTC
From: grischa dot kosba at gmail dot com Assigned:
Status: No Feedback Package: intl (PECL)
PHP Version: 5.4.30RC1 OS: Windows 8.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: grischa dot kosba at gmail dot com
New email:
PHP Version: OS:


 [2014-06-16 21:39 UTC] grischa dot kosba at gmail dot com
NumberFormatter::SPELLOUT in russian for 
200.000.000 ...299.999.999

or every number with includs two hundred is spellout wrong.

I don't know, if this is a PHP bug or a bug in the libicu.

Test script:
$f = new NumberFormatter("ru", NumberFormatter::SPELLOUT);
echo $f->format(200);

/*Produces the result:

correct is: двести

два is 2, but the prefix for 200 isn't два, it is две

Expected result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-06-16 22:30 UTC]
-Status: Open +Status: Feedback
 [2014-06-16 22:30 UTC]
PHP makes no modification to ICU data, so looking at the nature of the bug, I'd assume this is a problem in libicu. Which version do you use? You many want to try and upgrade it. It works fine for me in 51.1 - so maybe your libicu is older?
 [2014-12-30 10:42 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 09 05:03:34 2021 UTC