idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated
I'm getting this bizarre error in some cases under PHP 7.2. Apparently the idn_to_ascii function deprecated the INTL_IDNA_VARIANT_2003 variant in PHP 7.2, and you're supposed to use INTL_IDNA_VARIANT_UTS46 instead now. However, PHP seems to be still using INTL_IDNA_VARIANT_2003 as the default if none is specified. This ends up causing an exception.
continue reading...



