Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85547 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41669 invoked from network); 30 Mar 2015 10:29:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2015 10:29:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.181 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.212.181 mail-wi0-f181.google.com Received: from [209.85.212.181] ([209.85.212.181:38511] helo=mail-wi0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/81-31096-88529155 for ; Mon, 30 Mar 2015 05:29:29 -0500 Received: by wibgn9 with SMTP id gn9so122561364wib.1 for ; Mon, 30 Mar 2015 03:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iybAUVWeIkhjiQUr5/SY6n5/3IOYCLO42dzJNjUxBOg=; b=ncihCljND7ZSwH+i0GB/LkTg94VE1vMB08+Ibyw6wYz6HjIPDEkuxl/ld+7jtzIP7C anWSAgDo5XSCBM+1rpzUaKnQyDco+SZxArSDPgtluCx78dlvAjepTf7STHYve7CilFWF /RpbIpvZ9qsk1rZ4eqnz6/t+bOHxWaHZ9nO/j3ERTX2jQaM/St4xV4zfTCsMcNN//Bwf 6EIXjr1ipmgFW9neD1ziWOir9EGAU89oqKbdzvBawoMY98JW8mDIhCK5ctw6w1OeCG9t +SOxGDDbz7S+OxCnVz+UXe9ri8VUHZP2n1MaRyGAKrrYfYeZ/gsTwYSK+ni5oaKheVdL dxDg== MIME-Version: 1.0 X-Received: by 10.194.120.230 with SMTP id lf6mr61556176wjb.78.1427711365503; Mon, 30 Mar 2015 03:29:25 -0700 (PDT) Received: by 10.27.85.216 with HTTP; Mon, 30 Mar 2015 03:29:25 -0700 (PDT) In-Reply-To: <5515D57F.9070505@gmail.com> References: <5515D57F.9070505@gmail.com> Date: Mon, 30 Mar 2015 12:29:25 +0200 Message-ID: To: Stanislav Malyshev Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0115fe24c85f7e05127ef460 Subject: Re: [PHP-DEV] Deprecate or remove mbstring function overloads in PHP 7 From: nikita.ppv@gmail.com (Nikita Popov) --089e0115fe24c85f7e05127ef460 Content-Type: text/plain; charset=UTF-8 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 --089e0115fe24c85f7e05127ef460--