php.net |  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:
MUST BE VALID
Solve the problem:
47 + 12 = ?
Subscribe to this entry?

 
 [2015-06-08 10:56 UTC] php-bugs at allenjb dot me dot uk
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-08 11:55 UTC] cmb@php.net
Maybe something like <http://3v4l.org/1pUss>?
 [2017-01-28 12:57 UTC] cmb@php.net
-Package: Documentation problem +Package: mbstring related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 10:01:31 2024 UTC