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
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.
Password:
Status:
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

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: Thu Apr 25 23:01:29 2024 UTC