From bfbfb9dabd8369ec1891da99027f920bd851caee Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 25 Apr 2019 19:39:42 +0200 Subject: [PATCH] Fix #77940: test using outdated mon_thousands_sep for Swedish This time so that it works for all Windows 10 versions (hopefully). --- ext/standard/tests/strings/bug65769.phpt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ext/standard/tests/strings/bug65769.phpt b/ext/standard/tests/strings/bug65769.phpt index aed0efc83ec..e30d0f41ba7 100644 --- a/ext/standard/tests/strings/bug65769.phpt +++ b/ext/standard/tests/strings/bug65769.phpt @@ -26,6 +26,9 @@ foreach ($locales as $locale) { $lconv['mon_decimal_point'], $lconv['mon_thousands_sep'] ); + if ($locale === 'Swedish_Sweden.1252') { + var_dump(in_array($lconv['mon_thousands_sep'], [',', ' '])); + } echo '++++++++++++++++++++++', "\n"; } @@ -38,7 +41,8 @@ string(1) " string(3) "SEK" string(2) "kr" string(1) "," -string(1) " " +string(1) "%c" +bool(true) ++++++++++++++++++++++ string(18) "French_France.1252" string(1) ","