|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-04 17:14 UTC] pajoye@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: stas
[2011-09-04 17:14 UTC] pajoye@php.net
[2011-09-04 18:49 UTC] stas@php.net
[2011-09-04 18:50 UTC] stas@php.net
-Status: Assigned
+Status: Closed
[2011-09-04 18:50 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 14:00:01 2025 UTC |
Description: ------------ If the input string contains multibyte characters and the length argument is greater then the possible maximum length of the result the function returns false. Test script: --------------- <?php var_dump( grapheme_substr('FOK', 1, 20), // expected: OK grapheme_substr('한국어', 1, 20) //expected: 국어 ); Expected result: ---------------- string(2) "OK" string(6) "국어" Actual result: -------------- string(2) "OK" bool(false)