summaryrefslogtreecommitdiff
path: root/ext/intl/calendar
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-11-15 19:54:19 +0300
committerDmitry Stogov <dmitry@zend.com>2018-11-15 19:54:19 +0300
commit0f7f1498be549f5988bf9d8150f35bedf70741c5 (patch)
treeb9cada88f6a43fbcf2b1316ed8386a3249b0fa4a /ext/intl/calendar
parent8f2f80668e6988ac8907920d177e531a98dcb8b0 (diff)
downloadphp-git-0f7f1498be549f5988bf9d8150f35bedf70741c5.tar.gz
Use ZEND_THIS macro to hide implementation details in extensions code.
Diffstat (limited to 'ext/intl/calendar')
-rw-r--r--ext/intl/calendar/gregoriancalendar_methods.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/calendar/gregoriancalendar_methods.cpp b/ext/intl/calendar/gregoriancalendar_methods.cpp
index 4cbbc485d1..d96fffda6f 100644
--- a/ext/intl/calendar/gregoriancalendar_methods.cpp
+++ b/ext/intl/calendar/gregoriancalendar_methods.cpp
@@ -220,7 +220,7 @@ U_CFUNC PHP_METHOD(IntlGregorianCalendar, __construct)
zend_error_handling error_handling;
zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling);
- return_value = &EX(This);
+ return_value = ZEND_THIS;
_php_intlgregcal_constructor_body(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
zend_restore_error_handling(&error_handling);
}