From 7aa7627172c11979ec45c2db85f99182812ee59d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 30 Jun 2015 13:59:27 +0300 Subject: Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes). --- Zend/zend_objects.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Zend/zend_objects.c') 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; } -- cgit v1.2.1