diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-11-15 19:54:19 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-11-15 19:54:19 +0300 |
commit | 0f7f1498be549f5988bf9d8150f35bedf70741c5 (patch) | |
tree | b9cada88f6a43fbcf2b1316ed8386a3249b0fa4a /ext/intl/msgformat/msgformat.c | |
parent | 8f2f80668e6988ac8907920d177e531a98dcb8b0 (diff) | |
download | php-git-0f7f1498be549f5988bf9d8150f35bedf70741c5.tar.gz |
Use ZEND_THIS macro to hide implementation details in extensions code.
Diffstat (limited to 'ext/intl/msgformat/msgformat.c')
-rw-r--r-- | ext/intl/msgformat/msgformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat.c b/ext/intl/msgformat/msgformat.c index aa42b676f5..90ffdf63d3 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 = &EX(This); + return_value = ZEND_THIS; if (msgfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1) == FAILURE) { if (!EG(exception)) { zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); |