Lines Matching refs:arg_info
193 struct _zend_arg_info *arg_info; member
696 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, ze… in _parameter_string() argument
704 if (arg_info->class_name) { in _parameter_string()
705 string_printf(str, "%s ", arg_info->class_name); in _parameter_string()
706 if (arg_info->allow_null) { in _parameter_string()
709 } else if (arg_info->type_hint) { in _parameter_string()
710 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint)); in _parameter_string()
711 if (arg_info->allow_null) { in _parameter_string()
715 if (arg_info->pass_by_reference) { in _parameter_string()
718 if (arg_info->name) { in _parameter_string()
719 string_printf(str, "$%s", arg_info->name); in _parameter_string()
768 struct _zend_arg_info *arg_info = fptr->common.arg_info; in _function_parameter_string() local
771 if (!arg_info) { in _function_parameter_string()
779 _parameter_string(str, fptr, arg_info, i, required, indent TSRMLS_CC); in _function_parameter_string()
781 arg_info++; in _function_parameter_string()
1234 …ctory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, zend_uint offset… in reflection_parameter_factory() argument
1244 if (arg_info->name) { in reflection_parameter_factory()
1245 ZVAL_STRINGL(name, arg_info->name, arg_info->name_len, 1); in reflection_parameter_factory()
1252 reference->arg_info = arg_info; in reflection_parameter_factory()
2058 struct _zend_arg_info *arg_info; in ZEND_METHOD() local
2063 arg_info= fptr->common.arg_info; in ZEND_METHOD()
2070 …reflection_parameter_factory(_copy_function(fptr TSRMLS_CC), intern->obj, arg_info, i, fptr->commo… in ZEND_METHOD()
2073 arg_info++; in ZEND_METHOD()
2144 struct _zend_arg_info *arg_info; in ZEND_METHOD() local
2245 arg_info = fptr->common.arg_info; in ZEND_METHOD()
2267 if (arg_info[i].name && strcmp(arg_info[i].name, Z_STRVAL_PP(parameter)) == 0) { in ZEND_METHOD()
2288 if (arg_info[position].name) { in ZEND_METHOD()
2289 ZVAL_STRINGL(name, arg_info[position].name, arg_info[position].name_len, 1); in ZEND_METHOD()
2296 ref->arg_info = &arg_info[position]; in ZEND_METHOD()
2323 …_parameter_string(&str, param->fptr, param->arg_info, param->offset, param->required, "" TSRMLS_CC… in ZEND_METHOD()
2390 if (param->arg_info->class_name) { in ZEND_METHOD()
2403 …if (0 == zend_binary_strcasecmp(param->arg_info->class_name, param->arg_info->class_name_len, "sel… in ZEND_METHOD()
2411 …} else if (0 == zend_binary_strcasecmp(param->arg_info->class_name, param->arg_info->class_name_le… in ZEND_METHOD()
2424 …} else if (zend_lookup_class(param->arg_info->class_name, param->arg_info->class_name_len, &pce TS… in ZEND_METHOD()
2426 "Class %s does not exist", param->arg_info->class_name); in ZEND_METHOD()
2446 RETVAL_BOOL(param->arg_info->type_hint == IS_ARRAY); in ZEND_METHOD()
2462 RETVAL_BOOL(param->arg_info->type_hint == IS_CALLABLE); in ZEND_METHOD()
2478 RETVAL_BOOL(param->arg_info->allow_null); in ZEND_METHOD()
2494 RETVAL_BOOL(param->arg_info->pass_by_reference); in ZEND_METHOD()
2511 RETVAL_BOOL(param->arg_info->pass_by_reference != ZEND_SEND_BY_REF); in ZEND_METHOD()