summaryrefslogtreecommitdiff
path: root/ext/intl/tests
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-02-29 22:47:04 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-08 10:52:23 +0200
commit4a816584a4d483722485e5163396ea1bb2a6aee7 (patch)
treed85d2f5a93b66da2b0b611cdb7600ae2b684ad7c /ext/intl/tests
parent6e2cd97b4368e888193819dc0a6d1306b219ec21 (diff)
downloadphp-git-4a816584a4d483722485e5163396ea1bb2a6aee7.tar.gz
Make float to string casts locale-independent
From now on, float to string casting will always behave locale-independently. RFC: https://wiki.php.net/rfc/locale_independent_float_to_string Closes GH-5224 Co-authored-by: George Peter Banyard <girgias@php.net>
Diffstat (limited to 'ext/intl/tests')
-rw-r--r--ext/intl/tests/bug67052-win32.phpt2
-rw-r--r--ext/intl/tests/bug67052.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/tests/bug67052-win32.phpt b/ext/intl/tests/bug67052-win32.phpt
index 2c27624562..060a98b9fb 100644
--- a/ext/intl/tests/bug67052-win32.phpt
+++ b/ext/intl/tests/bug67052-win32.phpt
@@ -25,5 +25,5 @@ ut_run();
?>
--EXPECT--
-1234567,891
+1234567.891
de-de
diff --git a/ext/intl/tests/bug67052.phpt b/ext/intl/tests/bug67052.phpt
index 6cdfd9f5a9..56d825aa5d 100644
--- a/ext/intl/tests/bug67052.phpt
+++ b/ext/intl/tests/bug67052.phpt
@@ -30,5 +30,5 @@ ut_run();
?>
--EXPECT--
-1234567,891
+1234567.891
de_DE.UTF-8