|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
35 - 6 = ?
Subscribe to this entry?

 [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 Apr 16 22:01:27 2024 UTC