Re: Deprecate INTL_IDNA_VARIANT_2003

From: Date: Sun, 14 May 2017 07:41:59 +0000
Subject: Re: Deprecate INTL_IDNA_VARIANT_2003
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-99029@lists.php.net to get a copy of this message
2017-05-13 17:30 GMT+02:00 Christoph M. Becker <cmbecker69@gmx.de>: > On 13.05.2017 at 17:14, Niklas Keller wrote: > > > 2016-11-24 19:25 GMT+01:00 Christoph M. Becker <cmbecker69@gmx.de>: > > > >> 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 > > <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003>. I've missed that, could we please have a follow-up RFC that changes that to 7.2? I don't see a reason to touch it twice. Regards, Niklas

« previous php.internals (#99029) next »