Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85460 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40370 invoked from network); 25 Mar 2015 12:36:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2015 12:36:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.41 mail-wg0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:33120] helo=mail-wg0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/60-36345-8BBA2155 for ; Wed, 25 Mar 2015 07:36:08 -0500 Received: by wgbcc7 with SMTP id cc7so25744368wgb.0 for ; Wed, 25 Mar 2015 05:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XfCs9wCOSGmw3GtvC/5dsV2iUWwBXxqpuT8kTIY9528=; b=cXVXKMPkZBcZ7WxaMpoJgfUGBZ7R2k7xkyoY4YKllqTVvuBIS+rlyoQcbDypIpsmtM f82dl4PHmrP3Cdcn0HLvHzibumudV0PcgyUxnOD0VJX9HVzuiEcPluLNTZAVLeumEgQ0 QUv/AjBgIExsexBhtw1EF4S4DyWtjV1+eQ76rF6DmvtfEsxwBbaUk0ZG6OynknN7tM34 OoR/5mA/9Yct/bbgDx91n1N/ZWK3B0z7hkmgeLB1vjpkz7ltDuviYw9fyDVW4ptl4Zkh k/VpPKccZA5MnON8wyYRpG3pO4milNURcxD2urXb91dJ04WRXcpUtzORrdAC4/wZsK3n YdHA== X-Received: by 10.180.87.33 with SMTP id u1mr37215112wiz.20.1427286965741; Wed, 25 Mar 2015 05:36:05 -0700 (PDT) Received: from [192.168.0.159] ([62.189.198.114]) by mx.google.com with ESMTPSA id ha10sm3505957wjc.37.2015.03.25.05.36.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2015 05:36:05 -0700 (PDT) Message-ID: <5512AB8B.4020409@gmail.com> Date: Wed, 25 Mar 2015 12:35:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: internals References: <006301d06637$ebbb4ee0$c331eca0$@php.net> <007901d0664f$dee34430$9ca9cc90$@php.net> <55119F4E.6010503@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Deprecate or remove mbstring function overloads in PHP 7 From: rowan.collins@gmail.com (Rowan Collins) Levi Morrison wrote on 24/03/2015 20:35: > On Tue, Mar 24, 2015 at 11:30 AM, Rowan Collins wrote: >> François Laupretre wrote on 24/03/2015 16:30: >>>> De : Bob Weinand [mailto:bobwei9@hotmail.com] >>>> >>>> No, he isn't asking for delaying the timeline. He's asking if we can do >>>> this >>>> without RFC. Minimal self-contained changes don't need a RFC and can go >>>> as >>>> well into alpha/beta phase without issues. >>> Sorry, I don't understand when a change is supposed to require an RFC or >>> not, and when it can come after feature freeze or not. Is it written >>> somewhere ? What is the definition of a 'minimal self-contained' change ? >>> Why is it different if it belongs to an extension ? >>> >>> I may be wrong but the proposed change is not what I call a 'minimal >>> self-contained' change and there's a clear BC break. I'd love it to be part >>> of 7.0 but I would first appreciate to be sure the rules are the same for >>> everyone. >> >> Agreed, this is quite a major feature, and pretty much everything in PHP is >> an "extension" as far as the architecture is concerned. >> >> While I agree it would be great to phase this functionality out, I don't see >> how that can be done without an RFC. > If we deprecate it I am fine with doing this without an RFC. Removing > it would need an RFC in my opinion. But a decision to "deprecate" just means "remove, but not yet", so either way we're making a decision about what features the language will have, and skipping the established process in the name of convenience. I wonder if people are confusing the fact that they don't like this feature, and don't need it, with it being a "minor" feature. There are definitely people out there using it, and the impact of removing it may be considerable to them. There is also the question of what we are deprecating it in favour of. Remember that it's perfectly acceptable to deprecate something in a minor release, so if by the time of 7.1 or 7.2 a new way of working with Unicode or character set aware strings is taking shape, we could deprecate in favour of that. Or, if we think that the costs of including the feature are too great, and forcing use of mb_* functions directly is appropriate, we can deprecate in 7.1, presumably waiting until 8.0 to make the breaking change of removal. Once again, the decisions taken are that there is no 5.7 for deprecation, and no more RFCs allowed for 7.0 anyway. If we're going to stick to those decisions, we have to accept that ideas we come up with now will have to wait until 7.1 (next year) or 8.0 (4 to 5 years time). Regards, -- Rowan Collins [IMSoP]