Test: /ext/intl/tests/formatter_get_set_symbol2.phpt - Version 5.5.0RC3    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: Uncaught exception 'IntlException' with message 'numfmt_get_symbol: invalid symbol value' in /usr/local/src/php-5.5.0RC3/ext/intl/tests/ut_common.inc:187
002+ Stack trace:
003+ #0 /usr/local/src/php-5.5.0RC3/ext/intl/tests/ut_common.inc(187): NumberFormatter->getSymbol(2147483648)
004+ #1 %s/formatter_get_set_symbol2.php(73): ut_nfmt_get_symbol(Object(NumberFormatter), 2147483648)
005+ #2 /usr/local/src/php-5.5.0RC3/ext/intl/tests/ut_common.inc(12): ut_main()
006+ #3 %s/formatter_get_set_symbol2.php(81): ut_run()
007+ #4 {main}
008+ thrown in /usr/local/src/php-5.5.0RC3/ext/intl/tests/ut_common.inc on line 187
001- Symbol 'DECIMAL_SEPARATOR_SYMBOL'
002- Default symbol: [.]
003- New symbol: [_._]
004- A number formatted with the new symbol: 12,345_._123
005-
006- Symbol 'GROUPING_SEPARATOR_SYMBOL'
007- Default symbol: [,]
008- New symbol: [_,_]
009- A number formatted with the new symbol: 12_,_345.123
010-
011- Symbol 'PATTERN_SEPARATOR_SYMBOL'
012- Default symbol: [;]
013- New symbol: [_;_]
014- A number formatted with the new symbol: 12,345.123
015-
016- Symbol 'PERCENT_SYMBOL'
017- Default symbol: [%]
018- New symbol: [_%_]
019- A number formatted with the new symbol: 1,234,512_%_
020-
021- Symbol 'ZERO_DIGIT_SYMBOL'
022- Default symbol: [0]
023- New symbol: [_ZD_]
024- A number formatted with the new symbol: 12,345.123
025-
026- Symbol 'DIGIT_SYMBOL'
027- Default symbol: [#]
028- New symbol: [_DS_]
029- A number formatted with the new symbol: 12,345.123
030-
031- Symbol 'MINUS_SIGN_SYMBOL'
032- Default symbol: [-]
033- New symbol: [_-_]
034- A number formatted with the new symbol: _-_12,345.123
035-
036- Symbol 'PLUS_SIGN_SYMBOL'
037- Default symbol: [+]
038- New symbol: [_+_]
039- A number formatted with the new symbol: 1.2345123456E4
040-
041- Symbol 'CURRENCY_SYMBOL'
042- Default symbol: [$]
043- New symbol: [_$_]
044- A number formatted with the new symbol: _$_12,345.12
045-
046- Symbol 'INTL_CURRENCY_SYMBOL'
047- Default symbol: [USD]
048- New symbol: [_$_]
049- A number formatted with the new symbol: $12,345.12
050-
051- Symbol 'MONETARY_SEPARATOR_SYMBOL'
052- Default symbol: [.]
053- New symbol: [_MS_]
054- A number formatted with the new symbol: $12,345_MS_12
055-
056- Symbol 'EXPONENTIAL_SYMBOL'
057- Default symbol: [E]
058- New symbol: [_E_]
059- A number formatted with the new symbol: 1.2345123456_E_4
060-
061- Symbol 'PERMILL_SYMBOL'
062- Default symbol: [‰]
063- New symbol: [_PS_]
064- A number formatted with the new symbol: 12,345.123
065-
066- Symbol 'PAD_ESCAPE_SYMBOL'
067- Default symbol: [*]
068- New symbol: [_PE_]
069- A number formatted with the new symbol: 12,345.123
070-
071- Symbol 'INFINITY_SYMBOL'
072- Default symbol: [∞]
073- New symbol: [_IS_]
074- A number formatted with the new symbol: 12,345.123
075-
076- Symbol 'NAN_SYMBOL'
077- Default symbol: [NaN]
078- New symbol: [_N_]
079- A number formatted with the new symbol: 12,345.123
080-
081- Symbol 'SIGNIFICANT_DIGIT_SYMBOL'
082- Default symbol: [@]
083- New symbol: [_SD_]
084- A number formatted with the new symbol: 12,345.123
085-
086- Symbol 'MONETARY_GROUPING_SEPARATOR_SYMBOL'
087- Default symbol: [,]
088- New symbol: [_MG_]
089- A number formatted with the new symbol: $12_MG_345.12
090-
091- Symbol 'MONETARY_GROUPING_SEPARATOR_SYMBOL-2'
092- Default symbol: [,]
093- New symbol: [ ]
094- A number formatted with the new symbol: $12 345.12
095-
096- Symbol 'MONETARY_GROUPING_SEPARATOR_SYMBOL-3'
097- Default symbol: [,]
098- New symbol: [blahblahblahblahblahblahblahblahblahblah]
099- A number formatted with the new symbol: $12blahblahblahblahblahblahblahblahblahblah345.12