Re: Deprecate INTL_IDNA_VARIANT_2003
| From: | Niklas Keller | Date: | Sat, 13 May 2017 15:14:04 +0000 |
| Subject: | Re: Deprecate INTL_IDNA_VARIANT_2003 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99026@lists.php.net to get a copy of this message | ||
2016-11-24 19:25 GMT+01:00 Christoph M. Becker <cmbecker69@gmx.de>:
> Hi!
>
> 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.