Searched defs:arg_info (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_API.h38 const struct _zend_internal_arg_info *arg_info; member in struct:_zend_function_entry
71 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
73 #define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags) { zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
74 #define ZEND_RAW_NAMED_FE(zend_name, name, arg_info) ZEND_RAW_FENTRY(#zend_name, name, arg_info, 0)
76 #define ZEND_NAMED_FE(zend_name, name, arg_info) ZEND_FENTR
[all...]
H A Dzend_closures.c185 /* TODO: return ZEND_INTERNAL_FUNCTION, but arg_info representation is suitable for ZEND_USER_FUNCTION ??? */
342 struct _zend_arg_info *arg_info = closure->func.common.arg_info; local
363 if (arg_info) {
375 if (arg_info->name) {
377 arg_info->pass_by_reference ? "&" : "",
378 arg_info->name->val);
381 arg_info->pass_by_reference ? "&" : "",
387 arg_info++;
H A Dzend_compile.c3784 zend_arg_info *arg_info; local
3831 arg_info = &arg_infos[i];
3832 arg_info->name = zend_string_copy(name);
3833 arg_info->pass_by_reference = is_ref;
3834 arg_info->is_variadic = is_variadic;
3835 arg_info->type_hint = 0;
3836 arg_info->allow_null = 1;
3837 arg_info->class_name = NULL;
3846 arg_info->allow_null = has_null_default;
3849 arg_info
[all...]
H A Dzend_inheritance.c220 /* If it's a user function then arg_info == NULL means we don't have any parameters but
222 * functions because extensions don't always define arg_info.
224 if (!proto || (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION)) {
275 zend_arg_info *fe_arg_info = &fe->common.arg_info[i];
279 proto_arg_info = &proto->common.arg_info[i];
281 proto_arg_info = &proto->common.arg_info[proto->common.num_args];
387 if (fptr->common.arg_info) {
389 zend_arg_info *arg_info = fptr->common.arg_info; local
397 if (arg_info
[all...]
H A Dzend_compile.h268 /* arg_info for internal functions */
278 /* arg_info for user functions */
290 * arg_info array to define properties of internal functions.
310 zend_arg_info *arg_info; member in struct:_zend_op_array
360 zend_internal_arg_info *arg_info; member in struct:_zend_internal_function
380 zend_arg_info *arg_info; member in struct:_zend_function::__anon2
842 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c197 struct _zend_arg_info *arg_info; member in struct:_parameter_reference
682 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, char* indent) argument
690 if (arg_info->class_name) {
693 ((zend_internal_arg_info*)arg_info)->class_name :
694 arg_info->class_name->val);
695 if (arg_info->allow_null) {
698 } else if (arg_info->type_hint) {
699 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint));
700 if (arg_info->allow_null) {
704 if (arg_info
760 struct _zend_arg_info *arg_info = fptr->common.arg_info; local
1232 reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, zval *object) argument
2061 struct _zend_arg_info *arg_info; local
2076 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2150 struct _zend_arg_info *arg_info; local
[all...]

Completed in 24 milliseconds