Searched defs:arg_num (Results 1 - 4 of 4) sorted by relevance

/PHP_5_4/Zend/
H A Dzend_API.c305 static const char *zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, const char **spec, char **error, int *severity TSRMLS_DC) /* {{{ */ argument
669 static int zend_parse_arg(int arg_num, zval **arg, va_list *va, const char **spec, int quiet TSRMLS_DC) /* {{{ */ argument
675 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity TSRMLS_CC);
683 class_name, space, get_active_function_name(TSRMLS_C), arg_num, error);
687 class_name, space, get_active_function_name(TSRMLS_C), arg_num, expected_type,
H A Dzend_execute.c576 ZEND_API int zend_verify_arg_error(int error_type, const zend_function *zf, zend_uint arg_num, const char *need_msg, const char *need_kind, const char *given_msg, const char *given_kind TSRMLS_DC) argument
592 zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given, called in %s on line %d and defined", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind, ptr->op_array->filename, ptr->opline->lineno);
594 zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given", arg_num, fclass, fsep, fname, need_msg, need_kind, given_msg, given_kind);
599 static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zval *arg, ulong fetch_type TSRMLS_DC) argument
606 || arg_num>zf->common.num_args) {
610 cur_arg_info = &zf->common.arg_info[arg_num-1];
617 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "none", "" TSRMLS_CC);
622 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "instance of ", Z_OBJCE_P(arg)->name TSRMLS_CC);
626 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, zend_zval_type_name(arg), "" TSRMLS_CC);
632 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "b
[all...]
H A Dzend_vm_def.h3185 zend_uint arg_num = opline->op1.num; variable
3186 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
3190 if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_value TSRMLS_CC)) {
3212 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_value TSRMLS_CC);
3227 zend_uint arg_num = opline->op1.num; variable
3228 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
3248 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->extended_value TSRMLS_CC);
H A Dzend_vm_execute.h762 zend_uint arg_num = opline->op1.num; local
763 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
767 if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_value TSRMLS_CC)) {
789 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_value TSRMLS_CC);
1358 zend_uint arg_num = opline->op1.num; local
1359 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
1379 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->extended_value TSRMLS_CC);
[all...]

Completed in 73 milliseconds