Lines Matching refs:arg_info
141 struct _zend_arg_info *arg_info; member
699 static void _parameter_string(smart_str *str, zend_function *fptr, struct _zend_arg_info *arg_info,… in _parameter_string() argument
707 if (ZEND_TYPE_IS_SET(arg_info->type)) { in _parameter_string()
708 zend_string *type_str = zend_type_to_string(arg_info->type); in _parameter_string()
713 if (ZEND_ARG_SEND_MODE(arg_info)) { in _parameter_string()
716 if (ZEND_ARG_IS_VARIADIC(arg_info)) { in _parameter_string()
720 ? ((zend_internal_arg_info*)arg_info)->name : ZSTR_VAL(arg_info->name)); in _parameter_string()
722 if (!required && !ZEND_ARG_IS_VARIADIC(arg_info)) { in _parameter_string()
728 && ((zend_internal_arg_info*)arg_info)->default_value) { in _parameter_string()
729 smart_str_appends(str, ((zend_internal_arg_info*)arg_info)->default_value); in _parameter_string()
750 struct _zend_arg_info *arg_info = fptr->common.arg_info; in _function_parameter_string() local
753 if (!arg_info) { in _function_parameter_string()
765 _parameter_string(str, fptr, arg_info, i, i < num_required, indent); in _function_parameter_string()
767 arg_info++; in _function_parameter_string()
899 …tf(str, " %s- %s [ ", indent, ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1]) ? "Tentative… in _function_string()
900 if (ZEND_TYPE_IS_SET(fptr->common.arg_info[-1].type)) { in _function_string()
901 zend_string *type_str = zend_type_to_string(fptr->common.arg_info[-1].type); in _function_string()
1353 …ctory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, uint32_t offset,… in reflection_parameter_factory() argument
1362 reference->arg_info = arg_info; in reflection_parameter_factory()
1375 ZVAL_STRING(prop_name, ((zend_internal_arg_info*)arg_info)->name); in reflection_parameter_factory()
1377 ZVAL_STR_COPY(prop_name, arg_info->name); in reflection_parameter_factory()
1564 result, (zend_internal_arg_info *) param->arg_info); in get_parameter_default()
2142 struct _zend_arg_info *arg_info; in ZEND_METHOD() local
2148 arg_info= fptr->common.arg_info; in ZEND_METHOD()
2165 arg_info, in ZEND_METHOD()
2172 arg_info++; in ZEND_METHOD()
2393 struct _zend_arg_info *arg_info; in ZEND_METHOD() local
2494 arg_info = fptr->common.arg_info; in ZEND_METHOD()
2505 if (arg_info[i].name) { in ZEND_METHOD()
2506 if (strcmp(((zend_internal_arg_info*)arg_info)[i].name, ZSTR_VAL(arg_name)) == 0) { in ZEND_METHOD()
2514 if (arg_info[i].name) { in ZEND_METHOD()
2515 if (zend_string_equals(arg_name, arg_info[i].name)) { in ZEND_METHOD()
2542 ref->arg_info = &arg_info[position]; in ZEND_METHOD()
2560 ZVAL_STRING(prop_name, ((zend_internal_arg_info*)arg_info)[position].name); in ZEND_METHOD()
2562 ZVAL_STR_COPY(prop_name, arg_info[position].name); in ZEND_METHOD()
2587 _parameter_string(&str, param->fptr, param->arg_info, param->offset, param->required, ""); in ZEND_METHOD()
2603 RETURN_STRING(((zend_internal_arg_info *) param->arg_info)->name); in ZEND_METHOD()
2605 RETURN_STR_COPY(param->arg_info->name); in ZEND_METHOD()
2653 if (ZEND_TYPE_HAS_NAME(param->arg_info->type)) { in ZEND_METHOD()
2668 class_name = ZEND_TYPE_NAME(param->arg_info->type); in ZEND_METHOD()
2711 RETVAL_BOOL(ZEND_TYPE_IS_SET(param->arg_info->type)); in ZEND_METHOD()
2724 if (!ZEND_TYPE_IS_SET(param->arg_info->type)) { in ZEND_METHOD()
2727 reflection_type_factory(param->arg_info->type, return_value, 1); in ZEND_METHOD()
2742 if (ZEND_TYPE_IS_ITERABLE_FALLBACK(param->arg_info->type)) { in ZEND_METHOD()
2746 type_mask = ZEND_TYPE_PURE_MASK_WITHOUT_NULL(param->arg_info->type); in ZEND_METHOD()
2761 type_mask = ZEND_TYPE_PURE_MASK_WITHOUT_NULL(param->arg_info->type); in ZEND_METHOD()
2775 RETVAL_BOOL(!ZEND_TYPE_IS_SET(param->arg_info->type) in ZEND_METHOD()
2776 || ZEND_TYPE_ALLOW_NULL(param->arg_info->type)); in ZEND_METHOD()
2789 RETVAL_BOOL(ZEND_ARG_SEND_MODE(param->arg_info)); in ZEND_METHOD()
2803 RETVAL_BOOL(ZEND_ARG_SEND_MODE(param->arg_info) != ZEND_SEND_BY_REF); in ZEND_METHOD()
2861 && ((zend_internal_arg_info*) (param->arg_info))->default_value); in ZEND_METHOD()
2970 RETVAL_BOOL(ZEND_ARG_IS_VARIADIC(param->arg_info)); in ZEND_METHOD()
2983 RETVAL_BOOL(ZEND_ARG_IS_PROMOTED(param->arg_info)); in ZEND_METHOD()
3556 …y.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) && !ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])); in ZEND_METHOD()
3570 …y.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])) { in ZEND_METHOD()
3574 reflection_type_factory(fptr->common.arg_info[-1].type, return_value, 1); in ZEND_METHOD()
3588 …ray.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])); in ZEND_METHOD()
3602 ….fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || !ZEND_ARG_TYPE_IS_TENTATIVE(&fptr->common.arg_info[-1])) { in ZEND_METHOD()
3606 reflection_type_factory(fptr->common.arg_info[-1].type, return_value, 1); in ZEND_METHOD()
6252 zend_arg_info *arg_info = &prop->hooks[ZEND_PROPERTY_HOOK_SET]->common.arg_info[0]; in ZEND_METHOD() local
6253 if (!ZEND_TYPE_IS_SET(arg_info->type)) { in ZEND_METHOD()
6256 reflection_type_factory(arg_info->type, return_value, 0); in ZEND_METHOD()