mirror of
https://github.com/php/pecl-mail-mailparse.git
synced 2026-03-23 22:52:14 +01:00
use zend_str_tolower instead of php_strtolower
This commit is contained in:
@@ -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="/">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user