* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods
RETURN_FALSE;
} else {
UParseError parse_error;
+ UChar converted[MAXPATHLEN];
+ int32_t converted_ret_len;
status = U_ZERO_ERROR;
+ #if (ZEND_GCC_VERSION >= 4002) && !defined(__clang__)
+ # pragma GCC diagnostic push
+ # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ #endif
if (mode == INTL_IDN_TO_ASCII) {
converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
} else {