use zend_str_tolower instead of php_strtolower

This commit is contained in:
Remi Collet
2024-09-25 15:20:25 +02:00
parent 03ecc34534
commit 56c80d21dc
2 changed files with 5 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ It can deal with rfc822 and rfc2045 (MIME) compliant messages.
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
-
- PHP 8.4 compatibility
</notes>
<contents>
<dir name="/">

View File

@@ -428,7 +428,11 @@ PHP_MAILPARSE_API char *php_rfc822_recombine_tokens(php_rfc822_tokenized_t *toks
ret[len] = 0;
if (flags & PHP_RFC822_RECOMBINE_STRTOLOWER)
#if PHP_VERSION_ID < 80400
php_strtolower(ret, len);
#else
zend_str_tolower(ret, len);
#endif
return ret;
}