|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 18:01:32 2024 UTC