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_inheritance.c258 /* If it's a user function then arg_info == NULL means we don't have any parameters but
260 * functions because extensions don't always define arg_info.
262 if (!proto || (!proto->common.arg_info && proto->common.type != ZEND_USER_FUNCTION)) {
313 zend_arg_info *fe_arg_info = &fe->common.arg_info[i];
317 proto_arg_info = &proto->common.arg_info[i];
319 proto_arg_info = &proto->common.arg_info[proto->common.num_args];
340 if (!zend_do_perform_type_hint_check(fe, fe->common.arg_info - 1, proto, proto->common.arg_info - 1)) {
348 static void zend_append_type_hint(smart_str *str, const zend_function *fptr, zend_arg_info *arg_info, int return_hint) /* {{{ */ argument
350 if (arg_info
402 zend_arg_info *arg_info = fptr->common.arg_info; local
[all...]
H A Dzend_opcode.c73 op_array->arg_info = NULL;
388 if (op_array->arg_info) {
390 zend_arg_info *arg_info = op_array->arg_info; local
394 arg_info--;
401 if (arg_info[i].name) {
402 zend_string_release(arg_info[i].name);
404 if (arg_info[i].class_name) {
405 zend_string_release(arg_info[i].class_name);
408 efree(arg_info);
[all...]
H A Dzend_compile.h300 /* arg_info for internal functions */
310 /* arg_info for user functions */
322 * arg_info array to define properties of internal functions.
337 zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
344 zend_arg_info *arg_info; member in struct:_zend_op_array
388 zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
395 zend_internal_arg_info *arg_info; member in struct:_zend_internal_function
409 zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
416 zend_arg_info *arg_info; member in struct:_zend_function::__anon2
905 return UNEXPECTED((zf->common.arg_info[arg_nu
[all...]
H A Dzend_closures.c187 /* We return ZEND_INTERNAL_FUNCTION, but arg_info representation is the
334 struct _zend_arg_info *arg_info = closure->func.common.arg_info; local
353 if (arg_info &&
367 if (arg_info->name) {
369 arg_info->pass_by_reference ? "&" : "",
370 arg_info->name->val);
373 arg_info->pass_by_reference ? "&" : "",
379 arg_info++;
H A Dzend_compile.c1971 zend_emit_return_type_check(NULL, CG(active_op_array)->arg_info - 1);
3433 zend_emit_return_type_check(expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1);
4118 if (func->common.arg_info) {
4122 ZEND_SET_ARG_FLAG(func, i + 1, func->common.arg_info[i].pass_by_reference);
4125 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_VARIADIC && func->common.arg_info[i].pass_by_reference)) {
4126 uint32_t pass_by_reference = func->common.arg_info[i].pass_by_reference;
4144 /* Use op_array->arg_info[-1] for return type hinting */
4199 zend_arg_info *arg_info; local
4250 arg_info = &arg_infos[i];
4251 arg_info
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c197 struct _zend_arg_info *arg_info; member in struct:_parameter_reference
640 static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, char* indent) argument
648 if (arg_info->class_name) {
651 ((zend_internal_arg_info*)arg_info)->class_name :
652 arg_info->class_name->val);
653 if (arg_info->allow_null) {
656 } else if (arg_info->type_hint) {
657 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint));
658 if (arg_info->allow_null) {
662 if (arg_info
718 struct _zend_arg_info *arg_info = fptr->common.arg_info; local
1200 reflection_parameter_factory(zend_function *fptr, zval *closure_object, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, zval *object) argument
2040 struct _zend_arg_info *arg_info; local
2055 reflection_parameter_factory(_copy_function(fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, arg_info, i, fptr->common.required_num_args, &parameter); local
2129 struct _zend_arg_info *arg_info; local
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c208 if (op_array->arg_info) {
209 zend_arg_info *arg_info = op_array->arg_info; local
218 arg_info--;
221 ADD_DUP_SIZE(arg_info, sizeof(zend_arg_info) * num_args);
223 if (arg_info[i].name) {
224 ADD_INTERNED_STRING(arg_info[i].name, 1);
226 if (arg_info[i].class_name) {
227 ADD_INTERNED_STRING(arg_info[i].class_name, 1);
H A Dzend_persist.c555 if (op_array->arg_info) {
556 zend_arg_info *arg_info = op_array->arg_info; local
560 arg_info--;
564 arg_info = zend_shared_alloc_get_xlat_entry(arg_info);
565 ZEND_ASSERT(arg_info != NULL);
572 zend_accel_store(arg_info, sizeof(zend_arg_info) * num_args);
574 if (arg_info[i].name) {
575 zend_accel_store_interned_string(arg_info[
[all...]

Completed in 26 milliseconds