Commit 10425538075 for php.net

commit 10425538075238165f3d8d6fb94b57aeec7c5cb3
Author: Gina Peter Banyard <girgias@php.net>
Date:   Wed Dec 24 17:23:06 2025 +0100

    ext/standard/mail.c: use smart_str_append when we have zend_string*

diff --git a/ext/standard/mail.c b/ext/standard/mail.c
index b3f40847d56..b8381be0626 100644
--- a/ext/standard/mail.c
+++ b/ext/standard/mail.c
@@ -162,7 +162,7 @@ static void php_mail_build_headers_elem(smart_str *s, const zend_string *key, zv
 			}
 			smart_str_append(s, key);
 			smart_str_appendl(s, ": ", 2);
-			smart_str_appends(s, Z_STRVAL_P(val));
+			smart_str_append(s, Z_STR_P(val));
 			smart_str_appendl(s, "\r\n", 2);
 			break;
 		case IS_ARRAY: