Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94679 invoked from network); 31 Mar 2015 08:02:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2015 08:02:48 -0000 X-Host-Fingerprint: 80.177.120.119 marston-home.demon.co.uk Received: from [80.177.120.119] ([80.177.120.119:17653] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/C2-06567-5A45A155 for ; Tue, 31 Mar 2015 03:02:47 -0500 Message-ID: To: internals@lists.php.net References: <5515D57F.9070505@gmail.com> In-Reply-To: Date: Tue, 31 Mar 2015 09:02:26 +0100 Lines: 2 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-Posted-By: 80.177.120.119 Subject: Re: [PHP-DEV] Deprecate or remove mbstring function overloads in PHP 7 From: TonyMarston@hotmail.com ("Tony Marston") "Nikita Popov" wrote in message news:CAF+90c9ZCE4rrdtwoqwnBE=u_s4aSXHU4N_Jia+40OY_gumjaA@mail.gmail.com... > >On Fri, Mar 27, 2015 at 11:11 PM, Stanislav Malyshev >wrote: > >> Hi! >> >> I was never happy about this particular hack but that said, unless we >> *know* it is not used widely (and I suspect it is in Japan etc. where we >> don't have a lot of visibility due to language barrier) we can't really >> remove it. > > >> Also, I'm not sure why should we remove it. Yes, it's a PITA for the >> code, but looking at it in another direction, it is only a PITA if >> people actually turn it on, which means they're using it (otherwise why >> turn it on?). Deprecating it may be ok provided we actually have some >> proposal as to what people should do instead. >> >> If we have consensus on deprecating it, I don't think it's a problem >> have it done in 7.0 since it's not a substantial code/feature change and >> beta period provides ample time for people to scream if it's >> unacceptable. If there's no consensus yet, I'd go for 7.1. >> > >From this thread, I'd say we have a consensus to deprecate it. From the >Japanese side, both Yasuo and Masaki agree that this should be dropped and >Masaki also linked a bug report where it is stated that the original author >of this functionality agrees that this should be deprecated. It also >contains a link to a discussion on a Japanese PHP dev ML, where, as far as >Google Translate can tell me, everyone agreed that that we should do away >with it. > >As to what people should use instead: For the quick hack to make things >work: a sed script. Apart from that, implementing proper multibyte handling >in applications. > >Nikita But what is "proper" multibyte handling? Where is it documented? -- Tony Marston