[php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/dom/nodelist.c

From: Date: Sun, 01 Nov 2026 02:56:28 +0000
Subject: [php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/dom/nodelist.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143104@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-10-31T19:06:28-07:00 Commit: https://github.com/php/php-src/commit/1c921ff04a86a8e6cd1624332f73717c2ad03b00 Raw diff: https://github.com/php/php-src/commit/1c921ff04a86a8e6cd1624332f73717c2ad03b00.diff [%pS migration] Use %pS in ext/dom/nodelist.c Changed paths: M ext/dom/nodelist.c Diff: diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c index 197ff3ceb880..d311c2c110e2 100644 --- a/ext/dom/nodelist.c +++ b/ext/dom/nodelist.c @@ -116,7 +116,7 @@ dom_nodelist_dimension_index dom_modern_nodelist_get_index(const zval *offset) zval *dom_modern_nodelist_read_dimension(zend_object *object, zval *offset, int type, zval *rv) { if (UNEXPECTED(!offset)) { - zend_throw_error(NULL, "Cannot append to %s", ZSTR_VAL(object->ce->name)); + zend_throw_error(NULL, "Cannot append to %pS", object->ce->name); return NULL; }

« previous php.cvs (#143104) next »