From 1312852e1486156f85a5e4c9ac0fafd3a8035c2e Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Fri, 22 Oct 2010 02:05:08 +0000 Subject: [PATCH] Fixed bug #53113 (number_format(): wrong usage of term "character" in multi-byte context) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304600 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/number-format.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/reference/strings/functions/number-format.xml b/reference/strings/functions/number-format.xml index 4565e669cd..783c03f58c 100644 --- a/reference/strings/functions/number-format.xml +++ b/reference/strings/functions/number-format.xml @@ -85,12 +85,18 @@ Sets the thousands separator. - Only the first character of thousands_sep + Only the first byte of thousands_sep is used. For example, if you use & as thousands_sep on the number 1000, number_format will return 1&000. + + As noted above, this function only takes the first byte for the + separator. This means that multibyte characters will + NOT work, resulting in a broken multibyte + sequence. +