Commit 952452704e7 for php
commit 952452704e7fed7b5c7fdac864d9244f059b1fe4
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 09:42:53 2026 -0700
[`%pS` migration] Use `%pS` in Zend/zend_weakrefs.c
diff --git a/Zend/zend_weakrefs.c b/Zend/zend_weakrefs.c
index ad0308f44e2..6e0e32c124d 100644
--- a/Zend/zend_weakrefs.c
+++ b/Zend/zend_weakrefs.c
@@ -380,7 +380,7 @@ static zval *zend_weakmap_read_dimension(zend_object *object, zval *offset, int
if (zv == NULL) {
if (type != BP_VAR_IS) {
zend_throw_error(NULL,
- "Object %s#%d not contained in WeakMap", ZSTR_VAL(obj_addr->ce->name), obj_addr->handle);
+ "Object %pS#%d not contained in WeakMap", obj_addr->ce->name, obj_addr->handle);
return NULL;
}
return NULL;