From: sasezaki at gmail dot com Operating system: any PHP version: Irrelevant Package: mbstring related Bug Type: Feature/Change Request Bug description:mbstring.func_overload should be depreciated.
Description: ------------ func_overload ( http://www.php.net/manual/en/mbstring.overload.php ) should be depricated. Nowadays, mbstring.func_overload is often set based on misunderstood. And it causes strlen() is not bytesize issue. ref. https://github.com/cakephp/cakephp/pull/283/files https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Yaml/Inline .php#L50 http://zend-framework-community.634137.n4.nabble.com/Environment-amp- StringUtils-td4559272.html#a4564914 https://github.com/reactphp/react/pull/27 This feature is like "register_globals". Already, I contact to Japanese PHP Developers ML(*1), & mbstring maintainer - Rui Hirokawa agreed this feature should be depricated. And He suggested that I must open bug issue report. *1 http://php-japan.10936.n7.nabble.com/PHP-dev-1528-mbstring-func-overload- td10313.html Test script: --------------- php -d mbstring.func_overload=2 -r "var_dump((int)ini_get('mbstring.func_overload') & 2); Expected result: ---------------- should be raised "PHP Deprecated: mbstring.func_overload is depricated, " Actual result: -------------- NONE -- Edit bug report at https://bugs.php.net/bug.php?id=65785&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65785&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65785&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65785&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65785&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65785&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65785&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65785&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65785&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65785&r=support Expected behavior: https://bugs.php.net/fix.php?id=65785&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65785&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65785&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65785&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65785&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65785&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65785&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65785&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65785&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65785&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65785&r=mysqlcfg