Commit 1c921ff04a8 for php
commit 1c921ff04a86a8e6cd1624332f73717c2ad03b00
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 16:30:40 2026 -0700
[`%pS` migration] Use `%pS` in ext/dom/nodelist.c
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c
index 197ff3ceb88..d311c2c110e 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;
}