Lines Matching refs:error_type

2558 		uint32_t num_args, const zend_class_entry *ce, const zend_function *fptr, int error_type)  in zend_check_magic_method_args()  argument
2562 zend_error(error_type, "Method %s::%s() cannot take arguments", in zend_check_magic_method_args()
2565 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", in zend_check_magic_method_args()
2568 zend_error(error_type, "Method %s::%s() must take exactly %" PRIu32 " arguments", in zend_check_magic_method_args()
2575 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", in zend_check_magic_method_args()
2582 …t32_t arg_num, const zend_class_entry *ce, const zend_function *fptr, int error_type, int arg_type) in zend_check_magic_method_arg_type() argument
2588 zend_error(error_type, "%s::%s(): Parameter #%d ($%s) must be of type %s when declared", in zend_check_magic_method_arg_type()
2595 …return_type(const zend_class_entry *ce, const zend_function *fptr, int error_type, int return_type) in zend_check_magic_method_return_type() argument
2615 zend_error(error_type, "%s::%s(): Return type must be %s when declared", in zend_check_magic_method_return_type()
2622 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_non_static() argument
2625 zend_error(error_type, "Method %s::%s() cannot be static", in zend_check_magic_method_non_static()
2631 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_static() argument
2634 zend_error(error_type, "Method %s::%s() must be static", in zend_check_magic_method_static()
2640 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_public() argument
2650 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_no_return_type() argument
2653 zend_error_noreturn(error_type, "Method %s::%s() cannot declare a return type", in zend_check_magic_method_no_return_type()
2658 …nst zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type) /* {{{ */ in zend_check_magic_method_implementation() argument
2666 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2667 zend_check_magic_method_no_return_type(ce, fptr, error_type); in zend_check_magic_method_implementation()
2669 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2670 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2671 zend_check_magic_method_no_return_type(ce, fptr, error_type); in zend_check_magic_method_implementation()
2673 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2674 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2675 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2677 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2678 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2679 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2680 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2682 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2683 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2684 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2685 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2686 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2688 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2689 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2690 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2691 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2692 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2694 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2695 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2696 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2697 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2698 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_BOOL); in zend_check_magic_method_implementation()
2700 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2701 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2702 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2703 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2704 zend_check_magic_method_arg_type(1, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2706 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2707 zend_check_magic_method_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2708 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2709 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2710 zend_check_magic_method_arg_type(1, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2712 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2713 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2714 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2715 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2717 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2718 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2719 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2720 zend_check_magic_method_return_type(ce, fptr, error_type, (MAY_BE_ARRAY | MAY_BE_NULL)); in zend_check_magic_method_implementation()
2722 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2723 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2724 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2725 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2727 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2728 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2729 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2730 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2731 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2733 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2734 zend_check_magic_method_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2735 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2736 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2737 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_OBJECT); in zend_check_magic_method_implementation()
2739 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2740 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2742 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2743 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2744 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2745 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2747 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2748 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2749 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2750 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2830 int error_type; in zend_register_functions() local
2835 error_type = E_CORE_WARNING; in zend_register_functions()
2837 error_type = E_WARNING; in zend_register_functions()
2864 …zend_error(error_type, "Invalid access level for %s::%s() - access must be exactly one of public, … in zend_register_functions()
2936 …zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? ZSTR_VAL(scope->name… in zend_register_functions()
2940 …zend_error(error_type, "Interface %s cannot contain non abstract method %s()", ZSTR_VAL(scope->nam… in zend_register_functions()
2944 …zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? ZSTR_VAL(scope->name) … in zend_register_functions()
3095 …zend_error(error_type, "Function registration failed - duplicate name - %s%s%s", scope ? ZSTR_VAL(… in zend_register_functions()