Test: /ext/intl/tests/formatter_get_set_symbol.phpt - Version 7.0.15    

There are 3 different diffs reported by users for this test.

Count Diff
4 (44%)
001- Symbol 'DECIMAL_SEPARATOR_SYMBOL'
002- Default symbol: [.]
003- New symbol: [_._]
004- A number formatted with the new symbol: 12,345_._123
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: `a,bcd.`ab
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
3 (33%)
001+ Warning: NumberFormatter::getSymbol() expects parameter 1 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
002+
003+ Warning: NumberFormatter::getSymbol() expects parameter 1 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
004+
005+ Warning: NumberFormatter::getSymbol() expects parameter 1 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
006+
007+ Warning: NumberFormatter::getSymbol() expects parameter 1 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
008+
009+ Warning: numfmt_get_symbol() expects parameter 2 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
010+
011+ Warning: numfmt_get_symbol() expects parameter 2 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
012+
013+ Warning: numfmt_get_symbol() expects parameter 2 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
014+
015+ Warning: numfmt_get_symbol() expects parameter 2 to be integer, float given in /home/captain/packages/php-7.0.15/ext/intl/tests/ut_common.inc on line 195
016+
2 (22%)
001+ Termsig=11
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: `a,bcd.`ab
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