Home
last modified time | relevance | path

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

/PHP-5.5/Zend/
H A Dzend_compile.h822 #define CHECK_ARG_SEND_TYPE(zf, arg_num, m1, m2) \ argument
825 arg_num <= ((zend_function*)(zf))->common.num_args) ? \
826 (((zend_function *)(zf))->common.arg_info[arg_num-1].pass_by_reference & (m1)) : \
829 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
830 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF, ZEND_ACC_PASS_REST_BY_REFERENCE)
832 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
833 …CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF, ZEND_ACC_PASS_REST_BY_REFE…
835 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
836 CHECK_ARG_SEND_TYPE(zf, arg_num, ZEND_SEND_PREFER_REF, ZEND_ACC_PASS_REST_PREFER_REF)
H A Dzend_execute.c596 …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()
601 static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zval *arg, ulong fetch… in zend_verify_arg_type() argument
608 || arg_num>zf->common.num_args) { in zend_verify_arg_type()
612 cur_arg_info = &zf->common.arg_info[arg_num-1]; in zend_verify_arg_type()
619 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "none", "" TS… in zend_verify_arg_type()
624 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "instance of … in zend_verify_arg_type()
628 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, zend_zval_typ… in zend_verify_arg_type()
634 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be of the type array", "", "none",… in zend_verify_arg_type()
638 …return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be of the type array", "", zend_zv… in zend_verify_arg_type()
644 …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.h72 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
685 static int zend_parse_arg(int arg_num, zval **arg, va_list *va, const char **spec, int quiet TSRMLS… in zend_parse_arg() argument
691 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity TSRMLS_CC); in zend_parse_arg()
699 class_name, space, get_active_function_name(TSRMLS_C), arg_num, error); in zend_parse_arg()
703 class_name, space, get_active_function_name(TSRMLS_C), arg_num, expected_type, in zend_parse_arg()
716 ZEND_API int zend_parse_parameter(int flags, int arg_num TSRMLS_DC, zval **arg, const char *spec, .… in zend_parse_parameter()
723 ret = zend_parse_arg(arg_num, arg, &va, &spec, quiet TSRMLS_CC); in zend_parse_parameter()
H A Dzend_vm_def.h3207 zend_uint arg_num = opline->op1.num; variable
3208 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
3212 …if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_va…
3234 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_valu…
3249 zend_uint arg_num = opline->op1.num; variable
3250 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC);
3270 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->ext…
H A Dzend_API.h261 ZEND_API int zend_parse_parameter(int flags, int arg_num TSRMLS_DC, zval **arg, const char *spec, .…
H A Dzend_builtin_functions.c103 ZEND_ARG_INFO(0, arg_num)
H A Dzend_vm_execute.h703 zend_uint arg_num = opline->op1.num; in ZEND_RECV_SPEC_HANDLER() local
704 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC); in ZEND_RECV_SPEC_HANDLER()
708 …if (zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, NULL, opline->extended_va… in ZEND_RECV_SPEC_HANDLER()
730 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, *param, opline->extended_valu… in ZEND_RECV_SPEC_HANDLER()
1402 zend_uint arg_num = opline->op1.num; in ZEND_RECV_INIT_SPEC_CONST_HANDLER() local
1403 zval **param = zend_vm_stack_get_arg(arg_num TSRMLS_CC); in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
1423 …zend_verify_arg_type((zend_function *) EG(active_op_array), arg_num, assignment_value, opline->ext… in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
/PHP-5.5/
H A DREADME.PARAMETER_PARSING_API33 int zend_parse_parameter(int flags, int arg_num TSRMLS_DC, zval **arg, const char *spec, ...);

Completed in 145 milliseconds