On 13.05.2017 at 17:14, Niklas Keller wrote: > 2016-11-24 19:25 GMT+01:00 Christoph M. Becker <cmbecke...@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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php