[php-src] master: Merge branch 'PHP-8.6'
| From: | Daniel Scherzer | Date: | Fri, 13 Nov 2026 22:50:49 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143690@lists.php.net to get a copy of this message | ||
Author: Daniel Scherzer (DanielEScherzer)
Date: 2026-11-13T14:50:26-08:00
Commit: https://github.com/php/php-src/commit/876077072a00b0a40005252fee24f784d31ca907
Raw diff: https://github.com/php/php-src/commit/876077072a00b0a40005252fee24f784d31ca907.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
[
%pS migration] Use %pS in ext/filter (#23155)
Changed paths:
M ext/filter/filter.c
Diff:
diff --git a/ext/filter/filter.c b/ext/filter/filter.c
index adabe6e6ee9a..ca4a12df386d 100644
--- a/ext/filter/filter.c
+++ b/ext/filter/filter.c
@@ -259,8 +259,8 @@ static void php_zval_filter(zval *value, zend_long filter, zend_long flags, zval
zend_throw_exception_ex(
php_filter_failed_exception_ce,
0,
- "filter validation failed: object of type %s has no __toString() method",
- ZSTR_VAL(ce->name)
+ "filter validation failed: object of type %pS has no __toString() method",
+ ce->name
);
ZVAL_NULL(value);
return;
@@ -291,9 +291,9 @@ static void php_zval_filter(zval *value, zend_long filter, zend_long flags, zval
zend_throw_exception_ex(
php_filter_failed_exception_ce,
0,
- "filter validation failed: filter %s not satisfied by '%s'",
+ "filter validation failed: filter %s not satisfied by '%pS'",
filter_func.name,
- ZSTR_VAL(copy_for_throwing)
+ copy_for_throwing
);
zend_string_release(copy_for_throwing);
return;
@@ -730,8 +730,8 @@ PHP_FUNCTION(filter_input)
zend_throw_exception_ex(
php_filter_failed_exception_ce,
0,
- "input value '%s' not found",
- ZSTR_VAL(var)
+ "input value '%pS' not found",
+ var
);
RETURN_THROWS();
}