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