|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-21 20:45 UTC] jani@php.net
-Package: Feature/Change Request
+Package: mbstring related
-Operating System: CENT OS
+Operating System: *
[2016-01-04 17:00 UTC] daniel at 64studio dot com
[2016-01-07 02:48 UTC] yohgaki@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: yohgaki
[2016-01-07 02:48 UTC] yohgaki@php.net
[2016-01-07 02:51 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 24 13:00:01 2025 UTC |
Description: ------------ mb_convert_case with MB_CASE_TITLE capitalises the 's' after an apostrophe. mb_convert_case with MB_CASE_TITLE capitalises the 't' after a number. Reproduce code: --------------- <?php print mb_convert_case("THE APOSTROPHE'S 'S' SHOULD NOT BE CAPITALISED", MB_CASE_TITLE); print mb_convert_case("IN THE 5TH CENTURY NOTING WAS CAPITALISED", MB_CASE_TITLE); ?> Expected result: ---------------- The Apostrophe's 'S' Should Not Be Capitalised In The 5th Century Noting Was Capitalised Actual result: -------------- The Apostrophe'S 'S' Should Not Be Capitalised In The 5Th Century Noting Was Capitalised