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