[php-src] master: Merge branch 'PHP-8.6'

From: Date: Sat, 14 Nov 2026 01:22:59 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143697@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-11-13T17:22:48-08:00 Commit: https://github.com/php/php-src/commit/9b4a51d90eb4c97ffa5fa258a1462459797f2696 Raw diff: https://github.com/php/php-src/commit/9b4a51d90eb4c97ffa5fa258a1462459797f2696.diff Merge branch 'PHP-8.6' * PHP-8.6: [%pS migration] Use %pS in ext/exif (#23153) Changed paths: M ext/exif/exif.c Diff: diff --git a/ext/exif/exif.c b/ext/exif/exif.c index da0245caae86..7ae86d869b49 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -110,7 +110,7 @@ ZEND_INI_MH(OnUpdateEncode) size_t return_size; if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), &return_list, &return_size, 0)) { - php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", ZSTR_VAL(new_value)); + php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%pS'", new_value); return FAILURE; } pefree((void *) return_list, 0); @@ -125,7 +125,7 @@ ZEND_INI_MH(OnUpdateDecode) size_t return_size; if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), &return_list, &return_size, 0)) { - php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", ZSTR_VAL(new_value)); + php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%pS'", new_value); return FAILURE; } pefree((void *) return_list, 0);

« previous php.cvs (#143697) next »