php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50609 Feature Request: mbstring - add mb_substr_replace
Submitted: 2009-12-29 23:49 UTC Modified: 2010-01-17 18:41 UTC
From: anthon dot pang at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.12 OS:
Private report: No CVE-ID: None
 [2009-12-29 23:49 UTC] anthon dot pang at gmail dot com
Description:
------------
For consistency, there should be a multibyte-aware version of substr_replace.  At present, it's inconsistent (and can lead to incorrect results) if strlen and strpos functions are overloaded, and have those return values passed to substr_replace (which isn't overloaded).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-17 18:41 UTC] anthon dot pang at gmail dot com
mbstring.func_overload is evil.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC