summaryrefslogtreecommitdiff
path: root/ext/intl/formatter/formatter_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/formatter/formatter_main.c')
-rw-r--r--ext/intl/formatter/formatter_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_main.c b/ext/intl/formatter/formatter_main.c
index 28234043d5..2b54ee50f3 100644
--- a/ext/intl/formatter/formatter_main.c
+++ b/ext/intl/formatter/formatter_main.c
@@ -94,7 +94,7 @@ PHP_METHOD( NumberFormatter, __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 (numfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1) == FAILURE) {
if (!EG(exception)) {
zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0);