|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69771 mb_substr / mb_strcut pages need to better explain the difference
Submitted: 2015-06-08 10:56 UTC Modified: 2017-01-28 12:57 UTC
From: php-bugs at allenjb dot me dot uk Assigned:
Status: Open Package: mbstring related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php-bugs at allenjb dot me dot uk
New email:
PHP Version: OS:


 [2015-06-08 10:56 UTC] php-bugs at allenjb dot me dot uk
The mb_strcut and mb_substr pages currently do a bad job, in my opinion, of explaining the difference between these two functions.

It would probably be better to provide clear code examples, with output. Some of the comments on the mb_strcut page already try to do this, but I think they could definitely be improved on.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-08 11:55 UTC]
Maybe something like <>?
 [2017-01-28 12:57 UTC]
-Package: Documentation problem +Package: mbstring related
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 13:01:26 2023 UTC