Commit ae0bf447b47 for php.net
commit ae0bf447b475a367977fc432f6976536e8c9408e
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date: Tue Mar 10 20:51:51 2026 +0100
soap: Fix const-generic compile warning
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c
index 73245fd1a18..bce33124429 100644
--- a/ext/soap/php_encoding.c
+++ b/ext/soap/php_encoding.c
@@ -2529,8 +2529,7 @@ static zval *to_zval_array(zval *ret, encodeTypePtr type, xmlNodePtr data)
if (data &&
(attr = get_attribute(data->properties,"arrayType")) &&
attr->children && attr->children->content) {
- const char *type;
- char *end, *ns;
+ char *type, *end, *ns;
xmlNsPtr nsptr;
parse_namespace(attr->children->content, &type, &ns);