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

From: Date: Sun, 01 Nov 2026 02:56:25 +0000
Subject: [php-src] PHP-8.6: [`%pS` migration] Use `%pS` in ext/dom/html_collection.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143102@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-10-31T19:06:27-07:00 Commit: https://github.com/php/php-src/commit/67509a863615a2989fb417843191a4a670cd2422 Raw diff: https://github.com/php/php-src/commit/67509a863615a2989fb417843191a4a670cd2422.diff [%pS migration] Use %pS in ext/dom/html_collection.c Changed paths: M ext/dom/html_collection.c Diff: diff --git a/ext/dom/html_collection.c b/ext/dom/html_collection.c index 6310aef54bc2..89dbf9f2765f 100644 --- a/ext/dom/html_collection.c +++ b/ext/dom/html_collection.c @@ -100,7 +100,7 @@ PHP_METHOD(Dom_HTMLCollection, namedItem) zval *dom_html_collection_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 (#143102) next »