[php-src] master: Merge branch 'PHP-8.6'
| From: | Daniel Scherzer | Date: | Tue, 17 Nov 2026 23:24:48 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143809@lists.php.net to get a copy of this message | ||
Author: Daniel Scherzer (DanielEScherzer)
Date: 2026-11-17T15:24:27-08:00
Commit: https://github.com/php/php-src/commit/3d3b1f6c96bb166b708f640079b442f73286bb63
Raw diff: https://github.com/php/php-src/commit/3d3b1f6c96bb166b708f640079b442f73286bb63.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
[
%pS migration] Use %pS in ext/curl (#23149)
Changed paths:
M ext/curl/interface.c
Diff:
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index b94949b784c2..9c5dd357d2ce 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -1456,7 +1456,7 @@ static inline CURLcode add_form_field(php_curl *ch, curl_mime *mime,
zend_string
prop = zend_read_property_ex(curl_CURLFile_class, Z_OBJ_P(current), ZSTR_KNOWN(ZEND_STR_NAME), /*
silent */ false, &rv);
ZVAL_DEREF(prop);
if (Z_TYPE_P(prop) != IS_STRING) {
- php_error_docref(NULL, E_WARNING, "Invalid filename for key %s",
ZSTR_VAL(string_key));
+ php_error_docref(NULL, E_WARNING, "Invalid filename for key %pS", string_key);
} else {
postval = Z_STR_P(prop);