summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_objects.c')
-rw-r--r--Zend/zend_objects.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c
index 91bb603de4..9eccf1b601 100644
--- a/Zend/zend_objects.c
+++ b/Zend/zend_objects.c
@@ -97,8 +97,8 @@ ZEND_API void zend_objects_destroy_object(zend_object *object)
zend_error(EG(current_execute_data) ? E_EXCEPTION | E_ERROR : E_WARNING,
"Call to private %s::__destruct() from context '%s'%s",
- ce->name->val,
- EG(scope) ? EG(scope)->name->val : "",
+ ZSTR_VAL(ce->name),
+ EG(scope) ? ZSTR_VAL(EG(scope)->name) : "",
EG(current_execute_data) ? "" : " during shutdown ignored");
return;
}
@@ -110,8 +110,8 @@ ZEND_API void zend_objects_destroy_object(zend_object *object)
zend_error(EG(current_execute_data) ? E_EXCEPTION | E_ERROR : E_WARNING,
"Call to protected %s::__destruct() from context '%s'%s",
- ce->name->val,
- EG(scope) ? EG(scope)->name->val : "",
+ ZSTR_VAL(ce->name),
+ EG(scope) ? ZSTR_VAL(EG(scope)->name) : "",
EG(current_execute_data) ? "" : " during shutdown ignored");
return;
}