Commit 0e63b7a2552 for php
commit 0e63b7a2552ce716368951bcc4609b8b38f43785
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sat Aug 8 16:06:10 2026 -0700
[`%pS` migration] Use `%pS` in ext/spl/spl_observer.c
diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer.c
index 7ad54781884..72d602bb210 100644
--- a/ext/spl/spl_observer.c
+++ b/ext/spl/spl_observer.c
@@ -106,8 +106,8 @@ static zend_result spl_object_storage_get_hash(zend_hash_key *key, spl_SplObject
} else {
/* TODO PHP 9: Remove this as this will be enforced from the return type */
if (UNEXPECTED(Z_TYPE(rv) != IS_STRING)) {
- zend_type_error("%s::getHash(): Return value must be of type string, %s returned",
- ZSTR_VAL(intern->std.ce->name), zend_zval_value_name(&rv));
+ zend_type_error("%pS::getHash(): Return value must be of type string, %s returned",
+ intern->std.ce->name, zend_zval_value_name(&rv));
zval_ptr_dtor(&rv);
return FAILURE;
} else {