Home
last modified time | relevance | path

Searched refs:arg_num (Results 1 – 7 of 7) sorted by relevance

/PHP-5.4/Zend/
H A Dzend_compile.h792 #define CHECK_ARG_SEND_TYPE(zf, arg_num, m1, m2) \ argument
795 arg_num <= ((zend_function*)(zf))->common.num_args) ? \
796 (((zend_function *)(zf))->common.arg_info[arg_num-1].pass_by_reference & (m1)) : \
799 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
800 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF, ZEND_ACC_PASS_REST_BY_REFERENCE)
802 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
803 …CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF, ZEND_ACC_PASS_REST_BY_REFE…
805 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
806 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_PREFER_REF, ZEND_ACC_PASS_REST_PREFER_REF)
H A Dzend_execute.c594 …zend_error(error_type, "Argument %d passed to %s%s%s() must %s%s, %s%s given", arg_num, fclass, fs… in zend_verify_arg_error()
599 static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zval *arg, ulong fetch… in zend_verify_arg_type() argument
606 || arg_num>zf->common.num_args) { in zend_verify_arg_type()
610 cur_arg_info = &zf->common.arg_info[arg_num-1]; in zend_verify_arg_type()
617 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "none", "" TS… in zend_verify_arg_type()
622 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "instance of … in zend_verify_arg_type()
626 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, zend_zval_typ… in zend_verify_arg_type()
632 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be of the type array", "", "none",… in zend_verify_arg_type()
636 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be of the type array", "", zend_zv… in zend_verify_arg_type()
642 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be callable", "", "none", "" TSRML… in zend_verify_arg_type()
[all …]
H A Dzend_execute.h78 ZEND_API int zend_verify_arg_error(int error_type, const zend_function *zf, zend_uint arg_num, cons…
H A Dzend_API.c305 static const char *zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, const char **spec, cha… in zend_parse_arg_impl() argument
669 static int zend_parse_arg(int arg_num, zval **arg, va_list *va, const char **spec, int quiet TSRMLS… in zend_parse_arg() argument
675 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity TSRMLS_CC); in zend_parse_arg()
683 class_name, space, get_active_function_name(TSRMLS_C), arg_num, error); in zend_parse_arg()
687 class_name, space, get_active_function_name(TSRMLS_C), arg_num, expected_type, in zend_parse_arg()
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_va…
3212 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_valu…
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->ext…
H A Dzend_builtin_functions.c103 ZEND_ARG_INFO(0, arg_num)
H A Dzend_vm_execute.h762 zend_uint arg_num = opline->op1.num; in ZEND_RECV_SPEC_HANDLER() local
763 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC); in ZEND_RECV_SPEC_HANDLER()
767 …if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_va… in ZEND_RECV_SPEC_HANDLER()
789 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_valu… in ZEND_RECV_SPEC_HANDLER()
1358 zend_uint arg_num = opline->op1.num; in ZEND_RECV_INIT_SPEC_CONST_HANDLER() local
1359 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
1379 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->ext… in ZEND_RECV_INIT_SPEC_CONST_HANDLER()

Completed in 166 milliseconds