Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99028 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22934 invoked from network); 13 May 2017 15:39:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2017 15:39:16 -0000 Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:43959] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/E0-15531-D9827195 for ; Sat, 13 May 2017 11:39:11 -0400 Received: from srv-rhsoft.rhsoft.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3wQ9xQ1QRMzXMn for ; Sat, 13 May 2017 17:39:06 +0200 (CEST) To: internals@lists.php.net References: <2d0b0b51-bb28-89ea-dedb-d0d0bac68802@gmx.de> Message-ID: Date: Sat, 13 May 2017 17:39:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecate INTL_IDNA_VARIANT_2003 From: lists@rhsoft.net ("lists@rhsoft.net") Am 13.05.2017 um 17:30 schrieb Christoph M. Becker: > On 13.05.2017 at 17:14, Niklas Keller wrote: > >> 2016-11-24 19:25 GMT+01:00 Christoph M. Becker : >> >>> I've just noticed that ICU has deprecated the IDNA 2003 related >>> functions as of ICU 55[1]. Therefore I suggest that we deprecate >>> INTL_IDNA_VARIANT_2003 as of PHP 7.2, make INTL_IDNA_VARIANT_UTS46 the >>> default as of PHP 8.0(?) (or even remove this parameter?), and remove >>> INT_IDNA_VARIANT_2003 as of PHP 8.0. Otherwise we may get into trouble >>> if ICU removes these functions. >>> >>> Thoughts? Does this change require an RFC? >> >> Please update the defaults for e.g. >> http://php.net/manual/en/function.idn-to-ascii.php, too. A default call >> shouldn't result in a deprecation notice IMO. > > Changing the defaults in PHP 7.4 first has been part of the accepted > RFC, see > . then supress the deprecation warning in case it's the internal default enforce people changing their PHP code which relies on "well, normally the defaults should just work" is doomed - in the next iteration a few years later you have to touch it again *because* of that