Lines Matching refs:newthis
66 zend_closure *closure, zval *newthis, zend_class_entry *scope) /* {{{ */ in zend_valid_closure_binding() argument
70 if (newthis) { in zend_valid_closure_binding()
77 !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { in zend_valid_closure_binding()
82 ZSTR_VAL(Z_OBJCE_P(newthis)->name)); in zend_valid_closure_binding()
123 zval *newthis, closure_result; in ZEND_METHOD() local
133 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "o*", &newthis, &fci.params, &fci.param_count) == FAILU… in ZEND_METHOD()
139 newobj = Z_OBJ_P(newthis); in ZEND_METHOD()
141 if (!zend_valid_closure_binding(closure, newthis, Z_OBJCE_P(newthis))) { in ZEND_METHOD()
147 …d_create_closure(&new_closure, &closure->func, Z_OBJCE_P(newthis), closure->called_scope, newthis); in ZEND_METHOD()
154 my_function.common.scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
162 && (closure->func.common.scope != Z_OBJCE_P(newthis) in ZEND_METHOD()
204 zval *newthis, *zclosure, *scope_arg = NULL; in ZEND_METHOD() local
208 …meters(ZEND_NUM_ARGS(), getThis(), "Oo!|z", &zclosure, zend_ce_closure, &newthis, &scope_arg) == F… in ZEND_METHOD()
235 if (!zend_valid_closure_binding(closure, newthis, ce)) { in ZEND_METHOD()
239 if (newthis) { in ZEND_METHOD()
240 called_scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
245 zend_create_closure(return_value, &closure->func, ce, called_scope, newthis); in ZEND_METHOD()
622 ZEND_ARG_INFO(0, newthis)
628 ZEND_ARG_INFO(0, newthis)
633 ZEND_ARG_INFO(0, newthis)