[php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/curl (#23149)

From: Date: Tue, 17 Nov 2026 23:21:27 +0000
Subject: [php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/curl (#23149)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143808@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Committer: GitHub (web-flow) Pusher: DanielEScherzer Date: 2026-11-17T15:21:24-08:00 Commit: https://github.com/php/php-src/commit/23cb773b5c051a53c00aa1f58ebf02ad1b1b1afe Raw diff: https://github.com/php/php-src/commit/23cb773b5c051a53c00aa1f58ebf02ad1b1b1afe.diff [%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 a9189aca1af5..144ae4aa044b 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -1470,7 +1470,7 @@ static inline zend_result build_mime_structure_from_hash(php_curl *ch, zval *zpo 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);

« previous php.cvs (#143808) next »