Commit 5ce8c887d7d for php
commit 5ce8c887d7d451263b9507349ccc3dc1ac779255
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 13:10:27 2026 -0700
[`%pS` migration] Use `%pS` in ext/standard/streamsfuncs.c
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c
index 98de1e44af7..76a70f11732 100644
--- a/ext/standard/streamsfuncs.c
+++ b/ext/standard/streamsfuncs.c
@@ -179,7 +179,7 @@ PHP_FUNCTION(stream_socket_client)
/* host might contain binary characters */
zend_string *quoted_host = php_addslashes(host);
- php_error_docref(NULL, E_WARNING, "Unable to connect to %s (%s)", ZSTR_VAL(quoted_host), errstr == NULL ? "Unknown error" : ZSTR_VAL(errstr));
+ php_error_docref(NULL, E_WARNING, "Unable to connect to %pS (%s)", quoted_host, errstr == NULL ? "Unknown error" : ZSTR_VAL(errstr));
zend_string_release_ex(quoted_host, 0);
}