diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index b11952cf231..0e4ed78c1df 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -1424,8 +1424,7 @@ undeclared_property: if (UNEXPECTED((type == BP_VAR_R || type == BP_VAR_RW) && Z_TYPE_P(ret) == IS_UNDEF && ZEND_TYPE_IS_SET(property_info->type))) { zend_throw_error(NULL, "Typed static property %s::$%s must not be accessed before initialization", - ZSTR_VAL(property_info->ce->name), - zend_get_unmangled_property_name(property_name)); + ZSTR_VAL(property_info->ce->name), ZSTR_VAL(property_name)); return NULL; }