Replace getThis() by EX(This), when additional check is not necessary.

This commit is contained in:
Dmitry Stogov 2018-11-14 02:44:25 +03:00
parent 6bb94eacd7
commit c6ad0b92b7
44 changed files with 569 additions and 753 deletions

View file

@ -209,7 +209,7 @@ U_CFUNC PHP_METHOD( IntlDateFormatter, __construct )
zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling);
/* return_value param is being changed, therefore we will always return
* NULL here */
return_value = getThis();
return_value = &EX(This);
if (datefmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1) == FAILURE) {
if (!EG(exception)) {
zend_string *err = intl_error_get_message(NULL);