Req #65785 [Com]: mbstring.func_overload should be depreciated.

From: Date: Thu, 21 May 2015 15:02:21 +0000
Subject: Req #65785 [Com]: mbstring.func_overload should be depreciated.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192811@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65785&edit=1 ID: 65785 Comment by: dsxack at gmail dot com Reported by: sasezaki at gmail dot com Summary: mbstring.func_overload should be depreciated. Status: Open Type: Feature/Change Request Package: mbstring related Operating System: any PHP Version: Irrelevant Block user comment: N Private report: N New Comment: mbstring.func_overload - a feature that prevents the development of eco-system php. Due to the fact that the popular vendors decide to support the expansion of mbstring and feature mbstring.func_overload or not - many products are incompatible. Simfony requires mbstring.func_overload disabled features in all its products (https://github.com/sensiolabs/SensioDistributionBundle/issues/169), while others may require the inclusion (for example - the most popular CMS in Russia - Bitrix). Because of this library simfony cease to be compatible with the products Bitrix. I believe that mbstring.func_overload - this is one of the most horrible things that have at the moment in PHP. Previous Comments: ------------------------------------------------------------------------ [2013-09-29 13:12:12] sasezaki at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=65785&edit=1

« previous php.bugs (#192811) next »