]> granicus.if.org Git - php/commit
Change default of $variant param of idn_to_ascii() and idn_to_utf8()
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 15 Sep 2018 12:37:55 +0000 (14:37 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 15 Sep 2018 12:41:30 +0000 (14:41 +0200)
commit01912f93c3f702b5b34a0a9a4c8f529785b0286a
tree6106d69fc735e12f6e381101de37e7b9803e5d23
parent8a4c2f16217fb8f8d098355f3943f31e82bcfd71
Change default of $variant param of idn_to_ascii() and idn_to_utf8()

According to the “Deprecate and remove INTL_IDNA_VARIANT_2003” RFC[1],
we change the default of the $variant parameter of `idn_to_ascii()` and
`idn_to_utf8()` from `INTL_IDNA_VARIANT_2003` to
`INTL_IDNA_VARIANT_UTS46`.

[1] <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003>
NEWS
UPGRADING
ext/intl/idn/idn.c
ext/intl/tests/idn.phpt