Searched defs:arg_info (Results 1 - 9 of 9) 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.c188 /* TODO: return ZEND_INTERNAL_FUNCTION, but arg_info representation is suitable for ZEND_USER_FUNCTION ??? */
344 struct _zend_arg_info *arg_info = closure->func.common.arg_info; local
364 if (arg_info &&
378 if (arg_info->name) {
380 arg_info->pass_by_reference ? "&" : "",
381 arg_info->name->val);
384 arg_info->pass_by_reference ? "&" : "",
390 arg_info++;
H A Dzend_compile.h281 /* arg_info for internal functions */
291 /* arg_info for user functions */
303 * arg_info array to define properties of internal functions.
324 zend_arg_info *arg_info; member in struct:_zend_op_array
374 zend_internal_arg_info *arg_info; member in struct:_zend_internal_function
394 zend_arg_info *arg_info; member in struct:_zend_function::__anon2
857 return UNEXPECTED((zf->common.arg_info[arg_num].pass_by_reference & mask) != 0);
H A Dzend_compile.c1875 zend_emit_return_type_check(NULL, CG(active_op_array)->arg_info - 1);
3334 zend_emit_return_type_check(&expr_node, CG(active_op_array)->arg_info - 1);
3981 /* Use op_array->arg_info[-1] for return type hinting */
4030 zend_arg_info *arg_info; local
4081 arg_info = &arg_infos[i];
4082 arg_info->name = zend_string_copy(name);
4083 arg_info->pass_by_reference = is_ref;
4084 arg_info->is_variadic = is_variadic;
4085 arg_info->type_hint = 0;
4086 arg_info
[all...]
H A Dzend_opcode.c70 op_array->arg_info = NULL;
386 if (op_array->arg_info) {
388 zend_arg_info *arg_info = op_array->arg_info; local
392 arg_info--;
399 if (arg_info[i].name) {
400 zend_string_release(arg_info[i].name);
402 if (arg_info[i].class_name) {
403 zend_string_release(arg_info[i].class_name);
406 efree(arg_info);
[all...]
H A Dzend_inheritance.c257 /* If it's a user function then arg_info == NULL means we don't have any parameters but
259 * functions because extensions don't always define arg_info.
261 if (!proto || (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION)) {
312 zend_arg_info *fe_arg_info = &fe->common.arg_info[i];
316 proto_arg_info = &proto->common.arg_info[i];
318 proto_arg_info = &proto->common.arg_info[proto->common.num_args];
336 if (!zend_do_perform_type_hint_check(fe, fe->common.arg_info - 1, proto, proto->common.arg_info - 1)) {
344 static void zend_append_type_hint(smart_str *str, const zend_function *fptr, zend_arg_info *arg_info, int return_hint) /* {{{ */ argument
346 if (arg_info
398 zend_arg_info *arg_info = fptr->common.arg_info; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c197 struct _zend_arg_info *arg_info; member in struct:_parameter_reference
641 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, char* indent) argument
649 if (arg_info->class_name) {
652 ((zend_internal_arg_info*)arg_info)->class_name :
653 arg_info->class_name->val);
654 if (arg_info->allow_null) {
657 } else if (arg_info->type_hint) {
658 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint));
659 if (arg_info->allow_null) {
663 if (arg_info
719 struct _zend_arg_info *arg_info = fptr->common.arg_info; local
1201 reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, zval *object) argument
2036 struct _zend_arg_info *arg_info; local
2051 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2125 struct _zend_arg_info *arg_info; local
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c488 if (op_array->arg_info) {
489 zend_arg_info *arg_info = op_array->arg_info; local
493 arg_info--;
497 arg_info = zend_shared_alloc_get_xlat_entry(arg_info);
498 ZEND_ASSERT(arg_info != NULL);
505 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
507 if (arg_info[i].name) {
508 zend_accel_store_interned_string(arg_info[
[all...]
H A Dzend_persist_calc.c201 if (op_array->arg_info) {
202 zend_arg_info *arg_info = op_array->arg_info; local
211 arg_info--;
214 ADD_DUP_SIZE(op_array->arg_info, sizeof(zend_arg_info) * num_args);
215 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
217 if (arg_info[i].name) {
218 ADD_INTERNED_STRING(arg_info[i].name, 1);
220 if (arg_info[i].class_name) {
221 ADD_INTERNED_STRING(arg_info[
[all...]

Completed in 27 milliseconds