Commit 3fb28307b81 for php
commit 3fb28307b81ea1ae39ab54700a4e0660c028eead
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 13:01:31 2026 -0700
[`%pS` migration] Use `%pS` in ext/standard/http_fopen_wrapper.c
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index 37844ec5e31..f1c36defb1e 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -495,7 +495,7 @@ static php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper,
use_proxy = 1;
transport_string = zend_string_copy(Z_STR_P(tmpzval));
} else {
- transport_string = zend_strpprintf(0, "%s://%s:" ZEND_LONG_FMT, use_ssl ? "ssl" : "tcp", ZSTR_VAL(resource->host), resource->port);
+ transport_string = zend_strpprintf(0, "%s://%pS:" ZEND_LONG_FMT, use_ssl ? "ssl" : "tcp", resource->host, resource->port);
}
}