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

/PHP_5_5/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
685 static int zend_parse_arg(int arg_num, zval **arg, va_list *va, const char **spec, int quiet TSRMLS_DC) /* {{{ */ argument
691 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity TSRMLS_CC);
699 class_name, space, get_active_function_name(TSRMLS_C), arg_num, error);
703 class_name, space, get_active_function_name(TSRMLS_C), arg_num, expected_type,
716 ZEND_API int zend_parse_parameter(int flags, int arg_num TSRMLS_DC, zval **arg, const char *spec, ...)
723 ret = zend_parse_arg(arg_num, arg, &va, &spec, quiet TSRMLS_CC);
H A Dzend_execute.c578 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
594 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);
596 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);
601 static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zval *arg, ulong fetch_type TSRMLS_DC) argument
608 || arg_num>zf->common.num_args) {
612 cur_arg_info = &zf->common.arg_info[arg_num-1];
619 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "none", "" TSRMLS_CC);
624 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "instance of ", Z_OBJCE_P(arg)->name TSRMLS_CC);
628 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, zend_zval_type_name(arg), "" TSRMLS_CC);
634 return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "b
[all...]
H A Dzend_vm_def.h3197 zend_uint arg_num = opline->op1.num; variable
3198 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
3202 if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_value TSRMLS_CC)) {
3224 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_value TSRMLS_CC);
3239 zend_uint arg_num = opline->op1.num; variable
3240 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
3260 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->extended_value TSRMLS_CC);
H A Dzend_vm_execute.h703 zend_uint arg_num = opline->op1.num; local
704 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
708 if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_value TSRMLS_CC)) {
730 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_value TSRMLS_CC);
1398 zend_uint arg_num = opline->op1.num; local
1399 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
1419 zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->extended_value TSRMLS_CC);
[all...]

Completed in 88 milliseconds