Lines Matching refs:error_type

2658 		uint32_t num_args, const zend_class_entry *ce, const zend_function *fptr, int error_type)  in zend_check_magic_method_args()  argument
2662 zend_error(error_type, "Method %s::%s() cannot take arguments", in zend_check_magic_method_args()
2665 zend_error(error_type, "Method %s::%s() must take exactly 1 argument", in zend_check_magic_method_args()
2668 zend_error(error_type, "Method %s::%s() must take exactly %" PRIu32 " arguments", in zend_check_magic_method_args()
2675 zend_error(error_type, "Method %s::%s() cannot take arguments by reference", in zend_check_magic_method_args()
2682 …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
2688 zend_error(error_type, "%s::%s(): Parameter #%d ($%s) must be of type %s when declared", in zend_check_magic_method_arg_type()
2695 …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
2715 zend_error(error_type, "%s::%s(): Return type must be %s when declared", in zend_check_magic_method_return_type()
2722 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_non_static() argument
2725 zend_error(error_type, "Method %s::%s() cannot be static", in zend_check_magic_method_non_static()
2731 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_static() argument
2734 zend_error(error_type, "Method %s::%s() must be static", in zend_check_magic_method_static()
2740 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_public() argument
2750 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_no_return_type() argument
2753 zend_error_noreturn(error_type, "Method %s::%s() cannot declare a return type", in zend_check_magic_method_no_return_type()
2758 …nst zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type) /* {{{ */ in zend_check_magic_method_implementation() argument
2766 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2767 zend_check_magic_method_no_return_type(ce, fptr, error_type); in zend_check_magic_method_implementation()
2769 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2770 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2771 zend_check_magic_method_no_return_type(ce, fptr, error_type); in zend_check_magic_method_implementation()
2773 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2774 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2775 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2777 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2778 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2779 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2780 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2782 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2783 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2784 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2785 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2786 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2788 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2789 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2790 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2791 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2792 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2794 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2795 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2796 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2797 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2798 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_BOOL); in zend_check_magic_method_implementation()
2800 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2801 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2802 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2803 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2804 zend_check_magic_method_arg_type(1, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2806 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2807 zend_check_magic_method_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2808 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2809 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2810 zend_check_magic_method_arg_type(1, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2812 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2813 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2814 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2815 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2817 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2818 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2819 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2820 zend_check_magic_method_return_type(ce, fptr, error_type, (MAY_BE_ARRAY | MAY_BE_NULL)); in zend_check_magic_method_implementation()
2822 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2823 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2824 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2825 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2827 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2828 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2829 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2830 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2831 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2833 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2834 zend_check_magic_method_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2835 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2836 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2837 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_OBJECT); in zend_check_magic_method_implementation()
2839 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2840 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2842 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2843 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2844 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2845 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2847 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2848 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2849 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2850 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2930 int error_type; in zend_register_functions() local
2935 error_type = E_CORE_WARNING; in zend_register_functions()
2937 error_type = E_WARNING; in zend_register_functions()
2970 …zend_error(error_type, "Invalid access level for %s::%s() - access must be exactly one of public, … in zend_register_functions()
3042 …zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? ZSTR_VAL(scope->name… in zend_register_functions()
3046 …zend_error(error_type, "Interface %s cannot contain non abstract method %s()", ZSTR_VAL(scope->nam… in zend_register_functions()
3050 …zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? ZSTR_VAL(scope->name) … in zend_register_functions()
3201 …zend_error(error_type, "Function registration failed - duplicate name - %s%s%s", scope ? ZSTR_VAL(… in zend_register_functions()