Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Commit 7f8efd9

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Fix tests for ICU 63.1
2 parents 13aae9f + ba43d5a commit 7f8efd9

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

ext/intl/tests/formatter_format8.phpt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,20 @@ Locale is: de
107107

108108
Locale is: fr
109109
'1234567.8912345\d+'
110-
'1 234 567,891'
111-
'1 234 567,89 XXX'
112-
'123 456 789 ?%'
110+
'1.+234.+567,891'
111+
'1.+234.+567,89.+(XXX|¤)'
112+
'123.+456.+789(.+)?%'
113113
'1.2345678912345\d+E6'
114114
'un million deux cent trente-quatre mille cinq cent soixante-sept virgule huit neuf un deux trois quatre cinq( six)? sept( neuf)?'
115-
'1 234 567e'
116-
'1 234 567'
115+
'1.+234.+567e'
116+
'1.+234.+567'
117117
'#####.###'
118-
'1 234 567,89 XXX'
118+
'1.+234.+567,89.+XXX'
119119

120120
Locale is: en_UK
121121
'1234567.8912345\d+'
122122
'1,234,567.891'
123-
'XXX 1,234,567.89'
123+
'(¤|XXX )1,234,567.89'
124124
'123,456,789%'
125125
'1.2345678912345\d+E6'
126126
'one million,? two hundred (and )?thirty-four thousand,? five hundred (and )?sixty-seven point eight nine one two three four five( six)? seven( nine)?'

ext/intl/tests/msgfmt_bug70484.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ foreach ($locale as $lc) {
3737

3838
?>
3939
==DONE==
40-
--EXPECT--
40+
--EXPECTF--
4141
de string key
4242
string(8) "42-other"
4343
string(11) "42,42-other"
@@ -55,15 +55,15 @@ string(4) "five"
5555
fr string key
5656
string(8) "42-other"
5757
string(11) "42,42-other"
58-
string(22) "2 147 483 643-other"
59-
string(26) "2 147 483 643,123-other"
58+
string(%d) "2%s147%s483%s643-other"
59+
string(%d) "2%s147%s483%s643,123-other"
6060
string(4) "five"
6161

6262
fr numeric key
6363
string(8) "42-other"
6464
string(11) "42,42-other"
65-
string(22) "2 147 483 643-other"
66-
string(26) "2 147 483 643,123-other"
65+
string(%d) "2%s147%s483%s643-other"
66+
string(%d) "2%s147%s483%s643,123-other"
6767
string(4) "five"
6868

6969
en string key

0 commit comments

Comments
 (0)