diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-11-14 02:44:25 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-11-14 02:44:25 +0300 |
commit | c6ad0b92b7d8e66a07cf75ed4abc39fe3e13e00d (patch) | |
tree | 7bee04b4a982731b930fce3fef7017c442d46fb0 /ext/intl/collator/collator_create.c | |
parent | 6bb94eacd72499b62bf636d1338ba0b77cdf1671 (diff) | |
download | php-git-c6ad0b92b7d8e66a07cf75ed4abc39fe3e13e00d.tar.gz |
Replace getThis() by EX(This), when additional check is not necessary.
Diffstat (limited to 'ext/intl/collator/collator_create.c')
-rw-r--r-- | ext/intl/collator/collator_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/collator/collator_create.c b/ext/intl/collator/collator_create.c index 424e680b13..1313c2dde7 100644 --- a/ext/intl/collator/collator_create.c +++ b/ext/intl/collator/collator_create.c @@ -79,7 +79,7 @@ PHP_METHOD( Collator, __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 (collator_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1) == FAILURE) { if (!EG(exception)) { zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); |