|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
19 + 15 = ?
Subscribe to this entry?

 [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 Sep 26 17:01:25 2023 UTC