Commit 01dd5e368b8 for php

commit 01dd5e368b8e9551721139f436a2e48763a74812
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date:   Sat Aug 8 08:03:37 2026 -0700

    [`%pS` migration] Use `%pS` in Zend/zend_builtin_functions.c

diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index ffd6e9b7fae..ad2c0dd2009 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -90,7 +90,7 @@ ZEND_FUNCTION(clone)
 	const zend_function *clone = ce->clone;

 	if (UNEXPECTED(zobj->handlers->clone_obj == NULL)) {
-		zend_throw_error(NULL, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name));
+		zend_throw_error(NULL, "Trying to clone an uncloneable object of class %pS", ce->name);
 		RETURN_THROWS();
 	}

@@ -102,7 +102,7 @@ ZEND_FUNCTION(clone)
 	zend_object *cloned;
 	if (zend_hash_num_elements(with) > 0) {
 		if (UNEXPECTED(!zobj->handlers->clone_obj_with)) {
-			zend_throw_error(NULL, "Cloning objects of class %s with updated properties is not supported", ZSTR_VAL(ce->name));
+			zend_throw_error(NULL, "Cloning objects of class %pS with updated properties is not supported", ce->name);
 			RETURN_THROWS();
 		}

@@ -1237,7 +1237,7 @@ ZEND_FUNCTION(class_alias)
 			RETURN_FALSE;
 		}
 	} else {
-		zend_error(E_WARNING, "Class \"%s\" not found", ZSTR_VAL(class_name));
+		zend_error(E_WARNING, "Class \"%pS\" not found", class_name);
 		RETURN_FALSE;
 	}
 }