Commit 67509a86361 for php
commit 67509a863615a2989fb417843191a4a670cd2422
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 16:29:18 2026 -0700
[`%pS` migration] Use `%pS` in ext/dom/html_collection.c
diff --git a/ext/dom/html_collection.c b/ext/dom/html_collection.c
index 6310aef54bc..89dbf9f2765 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;
}