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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
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

Pull Requests

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 Dec 06 10:01:28 2024 UTC