Commit 18cc854f300 for php.net

commit 18cc854f300e125b0c2e8f1575ac18cc006d1dd2
Author: Gina Peter Banyard <girgias@php.net>
Date:   Tue Jul 28 08:48:51 2026 +0100

    streams: use zend string property update function (#22903)

    Instead of the char* version

diff --git a/main/streams/stream_errors.c b/main/streams/stream_errors.c
index 067a604af78..40056f0856e 100644
--- a/main/streams/stream_errors.c
+++ b/main/streams/stream_errors.c
@@ -385,8 +385,8 @@ static void php_stream_throw_exception_with_errors(php_stream_error_operation *o
 	object_init_ex(&ex, php_ce_stream_exception);

 	/* Set message from first error */
-	zend_update_property_string(php_ce_stream_exception, Z_OBJ(ex), ZEND_STRL("message"),
-			ZSTR_VAL(op->first_error->message));
+	zend_update_property_str(php_ce_stream_exception, Z_OBJ(ex), ZEND_STRL("message"),
+			op->first_error->message);

 	/* Set code from first error */
 	zend_update_property_long(php_ce_stream_exception, Z_OBJ(ex), ZEND_STRL("code"),