From 0f7f1498be549f5988bf9d8150f35bedf70741c5 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 15 Nov 2018 19:54:19 +0300 Subject: Use ZEND_THIS macro to hide implementation details in extensions code. --- ext/intl/calendar/gregoriancalendar_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/intl/calendar') 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); } -- cgit v1.2.1