Skip to content

Commit bfbfb9d

Browse files
committed
Fix #77940: test using outdated mon_thousands_sep for Swedish
This time so that it works for all Windows 10 versions (hopefully).
1 parent 37ca6a7 commit bfbfb9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ext/standard/tests/strings/bug65769.phpt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ foreach ($locales as $locale) {
2626
$lconv['mon_decimal_point'],
2727
$lconv['mon_thousands_sep']
2828
);
29+
if ($locale === 'Swedish_Sweden.1252') {
30+
var_dump(in_array($lconv['mon_thousands_sep'], [',', ' ']));
31+
}
2932
echo '++++++++++++++++++++++', "\n";
3033
}
3134

@@ -38,7 +41,8 @@ string(1) "
3841
string(3) "SEK"
3942
string(2) "kr"
4043
string(1) ","
41-
string(1) " "
44+
string(1) "%c"
45+
bool(true)
4246
++++++++++++++++++++++
4347
string(18) "French_France.1252"
4448
string(1) ","

0 commit comments

Comments
 (0)