Lines Matching refs:newthis

77 		zend_closure *closure, zval *newthis, zend_class_entry *scope) /* {{{ */  in zend_valid_closure_binding()  argument
80 if (newthis) { in zend_valid_closure_binding()
87 !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { in zend_valid_closure_binding()
92 ZSTR_VAL(Z_OBJCE_P(newthis)->name)); in zend_valid_closure_binding()
121 zval *zclosure, *newthis, closure_result; in ZEND_METHOD() local
130 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "o*", &newthis, &my_params, &my_param_count) == FAILURE… in ZEND_METHOD()
137 newobj = Z_OBJ_P(newthis); in ZEND_METHOD()
139 if (!zend_valid_closure_binding(closure, newthis, Z_OBJCE_P(newthis))) { in ZEND_METHOD()
153 fci_cache.called_scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
157 …sure(&new_closure, fci_cache.function_handler, Z_OBJCE_P(newthis), closure->called_scope, newthis); in ZEND_METHOD()
163 my_function.common.scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
167 if (ZEND_USER_CODE(my_function.type) && closure->func.common.scope != Z_OBJCE_P(newthis)) { in ZEND_METHOD()
180 } else if (ZEND_USER_CODE(my_function.type) && closure->func.common.scope != Z_OBJCE_P(newthis)) { in ZEND_METHOD()
190 zval *newthis, *zclosure, *scope_arg = NULL; in ZEND_METHOD() local
194 …meters(ZEND_NUM_ARGS(), getThis(), "Oo!|z", &zclosure, zend_ce_closure, &newthis, &scope_arg) == F… in ZEND_METHOD()
220 if (!zend_valid_closure_binding(closure, newthis, ce)) { in ZEND_METHOD()
224 if (newthis) { in ZEND_METHOD()
225 called_scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
230 zend_create_closure(return_value, &closure->func, ce, called_scope, newthis); in ZEND_METHOD()
496 ZEND_ARG_INFO(0, newthis)
502 ZEND_ARG_INFO(0, newthis)
507 ZEND_ARG_INFO(0, newthis)