Re: Deprecate INTL_IDNA_VARIANT_2003
| From: | Christoph M. Becker | Date: | Sat, 13 May 2017 15:30:06 +0000 |
| Subject: | Re: Deprecate INTL_IDNA_VARIANT_2003 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99027@lists.php.net to get a copy of this message | ||
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>.
--
Christoph M. Becker