Commit ff05c67e2ca for php

commit ff05c67e2ca58973f1e4150ec0bb1171ac388a7d
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date:   Sat Aug 8 16:30:26 2026 -0700

    [`%pS` migration] Use `%pS` in ext/dom/node.c

diff --git a/ext/dom/node.c b/ext/dom/node.c
index a3d40a92bfb..a562328cd26 100644
--- a/ext/dom/node.c
+++ b/ext/dom/node.c
@@ -2691,14 +2691,14 @@ PHP_METHOD(Dom_Node, compareDocumentPosition)

 PHP_METHOD(Dom_Node, __construct)
 {
-	zend_throw_error(NULL, "Cannot directly construct %s, use document methods instead", ZSTR_VAL(Z_OBJCE_P(ZEND_THIS)->name));
+	zend_throw_error(NULL, "Cannot directly construct %pS, use document methods instead", Z_OBJCE_P(ZEND_THIS)->name);
 }

 PHP_METHOD(DOMNode, __sleep)
 {
 	ZEND_PARSE_PARAMETERS_NONE();

-	zend_throw_exception_ex(NULL, 0, "Serialization of '%s' is not allowed, unless serialization methods are implemented in a subclass", ZSTR_VAL(Z_OBJCE_P(ZEND_THIS)->name));
+	zend_throw_exception_ex(NULL, 0, "Serialization of '%pS' is not allowed, unless serialization methods are implemented in a subclass", Z_OBJCE_P(ZEND_THIS)->name);
 	RETURN_THROWS();
 }

@@ -2706,7 +2706,7 @@ PHP_METHOD(DOMNode, __wakeup)
 {
 	ZEND_PARSE_PARAMETERS_NONE();

-	zend_throw_exception_ex(NULL, 0, "Unserialization of '%s' is not allowed, unless unserialization methods are implemented in a subclass", ZSTR_VAL(Z_OBJCE_P(ZEND_THIS)->name));
+	zend_throw_exception_ex(NULL, 0, "Unserialization of '%pS' is not allowed, unless unserialization methods are implemented in a subclass", Z_OBJCE_P(ZEND_THIS)->name);
 	RETURN_THROWS();
 }