#50609 [Opn->Bgs]: Feature Request: mbstring - add mb_substr_replace
| From: | anthon dot pang at gmail dot com | Date: | Sun, 17 Jan 2010 18:41:46 +0000 |
| Subject: | #50609 [Opn->Bgs]: Feature Request: mbstring - add mb_substr_replace | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146753@lists.php.net to get a copy of this message | ||
ID: 50609
User updated by: anthon dot pang at gmail dot com
Reported By: anthon dot pang at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
PHP Version: 5.2.12
New Comment:
mbstring.func_overload is evil.
Previous Comments:
------------------------------------------------------------------------
[2009-12-29 23:49:32] 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).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50609&edit=1