Test: /ext/intl/tests/msgfmt_bug70484.phpt - Version 7.3.4        

Bug #70484 selectordinal doesn't work with named parameters
Submitted: 2015-09-13 21:35:46 Modified:
From: sam Assigned:
Status: Closed Package: intl
PHP Version: 5.5.29 OS: Windows 8.1

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
002- string(8) "42-other"
003- string(11) "42,42-other"
004- string(19) "2.147.483.643-other"
005- string(23) "2.147.483.643,123-other"
006- string(4) "five"
003+ Fatal error: Uncaught IntlException: Constructor failed in %s/msgfmt_bug70484.php:9
004+ Stack trace:
005+ #0 %s/msgfmt_bug70484.php(9): MessageFormatter->__construct('de', '{n, selectordin...')
006+ #1 {main}
007+ thrown in %s/msgfmt_bug70484.php on line 9
008- de numeric key
009- string(8) "42-other"
010- string(11) "42,42-other"
011- string(19) "2.147.483.643-other"
012- string(23) "2.147.483.643,123-other"
013- string(4) "five"
014-
015- fr string key
016- string(8) "42-other"
017- string(11) "42,42-other"
018- string(%d) "2%s147%s483%s643-other"
019- string(%d) "2%s147%s483%s643,123-other"
020- string(4) "five"
021-
022- fr numeric key
023- string(8) "42-other"
024- string(11) "42,42-other"
025- string(%d) "2%s147%s483%s643-other"
026- string(%d) "2%s147%s483%s643,123-other"
027- string(4) "five"
028-
029- en string key
030- string(6) "42-two"
031- string(11) "42.42-other"
032- string(17) "2,147,483,643-few"
033- string(23) "2,147,483,643.123-other"
034- string(4) "five"
035-
036- en numeric key
037- string(6) "42-two"
038- string(11) "42.42-other"
039- string(17) "2,147,483,643-few"
040- string(23) "2,147,483,643.123-other"
041- string(4) "five"
042-
043- ru string key
044- string(8) "42-other"
045- string(11) "42,42-other"
046- string(22) "2 147 483 643-other"
047- string(26) "2 147 483 643,123-other"
048- string(4) "five"
049-
050- ru numeric key
051- string(8) "42-other"
052- string(11) "42,42-other"
053- string(22) "2 147 483 643-other"
054- string(26) "2 147 483 643,123-other"
055- string(4) "five"
056-
057- ==DONE==