|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-06-08 20:14 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2015-06-08 20:14 UTC] requinix@php.net
[2015-06-21 04:22 UTC] php-bugs at lists dot php dot net
[2015-06-21 04:31 UTC] yohgaki@php.net
-Status: No Feedback
+Status: Not a bug
[2015-06-21 04:31 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 17:00:01 2025 UTC |
Description: ------------ mb_strlen() on PHP 5.6 sometimes returns different values than the exact same call on previous versions of PHP (tested with 5.3, 5.4 and 5.5). For the given test script, PHP 5.6 returns "17" whereas all other versions return "31". It seems 5.6 is correct, however, when using the mb_ereg_search_* functions, they still return match lengths like PHP 5.5 and before. i.e. they total up to 31 for the entire string. Regardless of which version is right, all multibyte functions should atleast produce consistent results within the same version of PHP. Test script: --------------- echo mb_strlen('από το Άξιον Εστί');