(no commit message)
authorChristian Weiske <cweiske@cweiske.de>
Tue, 29 Oct 2019 10:44:58 +0000 (11:44 +0100)
committerwww-cweiske <www-cweiske@ahso3>
Tue, 29 Oct 2019 10:44:58 +0000 (11:44 +0100)
README.rst

index f67374c54142f8d530eb60cdd10e1501df8b47bb..2d24ae43e13beb42b92d380f7b6650dcb9f707d3 100644 (file)
@@ -1,3 +1,21 @@
+Problem::\r
+\r
+    $ php -a\r
+    Interactive mode enabled\r
+\r
+    php > echo (string) 2.5;\r
+    2.5\r
+\r
+    php > setlocale(LC_ALL, 'de_DE.UTF-8');\r
+    php > echo (string) 2.5;\r
+    2,5\r
+\r
+    php > echo (string) var_export(2.5,true);\r
+    2.5\r
+    php > echo (string) var_export('2.5', true); \r
+    '2.5'\r
+\r
+\r
 - https://www.mail-archive.com/internals@lists.php.net/msg95836.html\r
 - https://bugs.php.net/bug.php?id=77278\r
 - https://gielberkers.com/floating-point-numbers-in-php-and-your-system-locale/
\ No newline at end of file