Use ZEND_THIS macro to hide implementation details in extensions code.

This commit is contained in:
Dmitry Stogov 2018-11-15 19:54:19 +03:00
parent 8f2f80668e
commit 0f7f1498be
54 changed files with 688 additions and 687 deletions

View file

@ -30,7 +30,7 @@ static inline CodePointBreakIterator *fetch_cpbi(BreakIterator_object *bio) {
U_CFUNC PHP_FUNCTION(cpbi_get_last_code_point)
{
BREAKITER_METHOD_INIT_VARS;
object = &EX(This);
object = ZEND_THIS;
if (zend_parse_parameters_none() == FAILURE) {
intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,