From c6ad0b92b7d8e66a07cf75ed4abc39fe3e13e00d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 14 Nov 2018 02:44:25 +0300 Subject: Replace getThis() by EX(This), when additional check is not necessary. --- ext/intl/msgformat/msgformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/intl/msgformat/msgformat.c') diff --git a/ext/intl/msgformat/msgformat.c b/ext/intl/msgformat/msgformat.c index 3f5af5fd67..aa42b676f5 100644 --- a/ext/intl/msgformat/msgformat.c +++ b/ext/intl/msgformat/msgformat.c @@ -113,7 +113,7 @@ PHP_METHOD( MessageFormatter, __construct ) zend_error_handling error_handling; zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); - return_value = getThis(); + return_value = &EX(This); if (msgfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1) == FAILURE) { if (!EG(exception)) { zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); -- cgit v1.2.1