|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-08 11:55 UTC] tony2001@php.net
[2005-11-09 08:40 UTC] desss at yandex dot ru
[2005-11-09 08:44 UTC] tony2001@php.net
[2005-11-09 08:56 UTC] desss at yandex dot ru
[2005-11-09 09:18 UTC] tony2001@php.net
[2005-11-09 09:35 UTC] desss at yandex dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 10:00:01 2025 UTC |
Description: ------------ Code: setlocale(LC_ALL, 'ru_RU'); echo str_word_count("??????"); Result - 2 !!! Wrong! That is because function understanding letter "?" as whitespace. Reproduce code: --------------- setlocale(LC_ALL, 'ru_RU'); echo str_word_count("??????"); Expected result: ---------------- 1 Actual result: -------------- 2