Lines Matching refs:E_COMPILE_ERROR

206 		zend_error_noreturn(E_COMPILE_ERROR,  in zend_assert_valid_class_name()
945 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_class_name()
949 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_class_name()
965 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_class_name()
1006 zend_error_noreturn(E_COMPILE_ERROR, "Illegal class name"); in zend_resolve_class_name_ast()
1065 int error_level = compile_time ? E_COMPILE_ERROR : E_ERROR; in do_bind_function_error()
1115 …zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", z… in zend_bind_class_in_slot()
1153 …zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", z… in do_bind_class()
1330 zend_error_noreturn(E_COMPILE_ERROR, in zend_mark_function_as_generator()
1350 zend_error_noreturn(E_COMPILE_ERROR, in zend_mark_function_as_generator()
1566 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_const_class_name_reference()
1578 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use \"%s\" when no class scope is active", in zend_ensure_valid_class_fetch_type()
1582 zend_error_noreturn(E_COMPILE_ERROR, in zend_ensure_valid_class_fetch_type()
1601 zend_error_noreturn(E_COMPILE_ERROR, "Illegal class name"); in zend_try_compile_const_expr_resolve_class_name()
1964 zend_error_noreturn(E_COMPILE_ERROR, "No code may exist outside of namespace {}"); in zend_verify_namespace()
2318 zend_error_noreturn(E_COMPILE_ERROR, "Cannot take reference of a nullsafe chain"); in zend_assert_not_short_circuited()
2458 zend_error_noreturn(E_COMPILE_ERROR, in zend_emit_return_type_check()
2462 zend_error_noreturn(E_COMPILE_ERROR, "A void function must not return a value"); in zend_emit_return_type_check()
2473 zend_error_noreturn(E_COMPILE_ERROR, "A never-returning function must not return"); in zend_emit_return_type_check()
2479 zend_error_noreturn(E_COMPILE_ERROR, in zend_emit_return_type_check()
2483 zend_error_noreturn(E_COMPILE_ERROR, in zend_emit_return_type_check()
2652 zend_error_noreturn(E_COMPILE_ERROR, "Illegal class name"); in zend_compile_class_ref()
2827 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use result of built-in function in write context"); in zend_separate_if_call_and_write()
2846 …zend_error(E_COMPILE_ERROR, "Array and string offset access syntax with curly braces is no longer … in zend_delayed_compile_dim()
2856 zend_error_noreturn(E_COMPILE_ERROR, "Cannot append to $GLOBALS"); in zend_delayed_compile_dim()
2887 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for reading"); in zend_delayed_compile_dim()
2890 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for unsetting"); in zend_delayed_compile_dim()
3047 zend_error_noreturn(E_COMPILE_ERROR, "Cannot assign to array(), use [] instead"); in zend_verify_list_assign_target()
3050 zend_error_noreturn(E_COMPILE_ERROR, "Cannot mix [] and list()"); in zend_verify_list_assign_target()
3053 zend_error_noreturn(E_COMPILE_ERROR, "Assignments can only happen to writable values"); in zend_verify_list_assign_target()
3113 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3121 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3131 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3138 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3172 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use empty list"); in zend_compile_list_assign()
3186 zend_error_noreturn(E_COMPILE_ERROR, "Can't use function return value in write context"); in zend_ensure_writable_variable()
3193 zend_error_noreturn(E_COMPILE_ERROR, "Can't use method return value in write context"); in zend_ensure_writable_variable()
3196 zend_error_noreturn(E_COMPILE_ERROR, "Can't use nullsafe operator in write context"); in zend_ensure_writable_variable()
3199 zend_error_noreturn(E_COMPILE_ERROR, in zend_ensure_writable_variable()
3256 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_assign()
3312 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_assign()
3354 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_assign_ref()
3359 zend_error_noreturn(E_COMPILE_ERROR, "Cannot acquire reference to $GLOBALS"); in zend_compile_assign_ref()
3382 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use result of built-in function in write context"); in zend_compile_assign_ref()
3538 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_args()
3583 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_args()
3588 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_args()
3750 zend_error_noreturn(E_COMPILE_ERROR, "Cannot create Closure for new expression"); in zend_compile_call_common()
4627 zend_error_noreturn(E_COMPILE_ERROR, "Method name must be a string"); in zend_compile_method_call()
4653 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_method_call()
4702 zend_error_noreturn(E_COMPILE_ERROR, "Method name must be a string"); in zend_compile_static_call()
4814 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as global variable"); in zend_compile_global_var()
4850 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as static variable"); in zend_compile_static_var_common()
4886 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for unsetting"); in zend_compile_unset()
4902 zend_error_noreturn(E_COMPILE_ERROR, "Cannot unset $this"); in zend_compile_unset()
5113 zend_error_noreturn(E_COMPILE_ERROR, "'%s' operator with non-integer operand " in zend_compile_break_continue()
5119 zend_error_noreturn(E_COMPILE_ERROR, "'%s' operator accepts only positive integers", in zend_compile_break_continue()
5129 zend_error_noreturn(E_COMPILE_ERROR, "'%s' not in the 'loop' or 'switch' context", in zend_compile_break_continue()
5133 zend_error_noreturn(E_COMPILE_ERROR, "Cannot '%s' " ZEND_LONG_FMT " level%s", in zend_compile_break_continue()
5192 zend_error_noreturn(E_COMPILE_ERROR, "'goto' to undefined label '%s'", Z_STRVAL_P(label)); in zend_resolve_goto_label()
5204 zend_error_noreturn(E_COMPILE_ERROR, "'goto' into loop or switch statement is disallowed"); in zend_resolve_goto_label()
5270 zend_error_noreturn(E_COMPILE_ERROR, "Label '%s' already defined", ZSTR_VAL(label)); in zend_compile_label()
5392 zend_error_noreturn(E_COMPILE_ERROR, "Key element cannot be a reference"); in zend_compile_foreach()
5395 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use list as key element"); in zend_compile_foreach()
5426 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_foreach()
5625 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_switch()
5781 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_match()
5955 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use try without catch or finally"); in zend_compile_try()
6012 zend_error_noreturn(E_COMPILE_ERROR, "Bad class name in the catch statement"); in zend_compile_try()
6028 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_try()
6203 zend_error_noreturn(E_COMPILE_ERROR, "declare(%s) value must be a literal", ZSTR_VAL(name)); in zend_compile_declare()
6214 zend_error_noreturn(E_COMPILE_ERROR, "Encoding declaration pragma must be " in zend_compile_declare()
6221 zend_error_noreturn(E_COMPILE_ERROR, "strict_types declaration must be " in zend_compile_declare()
6226 zend_error_noreturn(E_COMPILE_ERROR, "strict_types declaration must not " in zend_compile_declare()
6233 zend_error_noreturn(E_COMPILE_ERROR, "strict_types declaration must have 0 or 1 as its value"); in zend_compile_declare()
6293 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_single_typename()
6304 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_single_typename()
6397 zend_error_noreturn(E_COMPILE_ERROR, "Type %s is redundant with type %s", in zend_are_intersection_types_redundant()
6400 …zend_error_noreturn(E_COMPILE_ERROR, "Type %s is redundant as it is more restrictive than type %s", in zend_are_intersection_types_redundant()
6416 …zend_error_noreturn(E_COMPILE_ERROR, "Type %s is redundant as it is more restrictive than type %s", in zend_is_intersection_type_redundant_by_single_type()
6433 … zend_error_noreturn(E_COMPILE_ERROR, "Duplicate type %s is redundant", ZSTR_VAL(single_type_str)); in zend_is_type_list_redundant_by_single_type()
6498 zend_error_noreturn(E_COMPILE_ERROR, "Type mixed can only be used as a standalone type"); in zend_compile_typename()
6508 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6514 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6558 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6581 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6588 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6595 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6635 …zend_error_noreturn(E_COMPILE_ERROR, "Type mixed cannot be marked as nullable since mixed already … in zend_compile_typename()
6639 zend_error_noreturn(E_COMPILE_ERROR, "null cannot be marked as nullable"); in zend_compile_typename()
6648 zend_error_noreturn(E_COMPILE_ERROR, "Void can only be used as a standalone type"); in zend_compile_typename()
6652 zend_error_noreturn(E_COMPILE_ERROR, "never can only be used as a standalone type"); in zend_compile_typename()
6698 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_attributes()
6733 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_attributes()
6745 zend_error_noreturn(E_COMPILE_ERROR, "Duplicate named parameter $%s", in zend_compile_attributes()
6750 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_attributes()
6853 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign auto-global variable %s", in zend_compile_params()
6861 zend_error_noreturn(E_COMPILE_ERROR, "Redefinition of parameter $%s", in zend_compile_params()
6864 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as parameter"); in zend_compile_params()
6868 zend_error_noreturn(E_COMPILE_ERROR, "Only the last parameter can be variadic"); in zend_compile_params()
6877 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6936 zend_error_noreturn(E_COMPILE_ERROR, "void cannot be used as a parameter type"); in zend_compile_params()
6940 zend_error_noreturn(E_COMPILE_ERROR, "never cannot be used as a parameter type"); in zend_compile_params()
6946 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6978 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6983 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6987 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6991 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", in zend_compile_params()
6996 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
7018 zend_error_noreturn(E_COMPILE_ERROR, "Readonly property %s::$%s must have type", in zend_compile_params()
7091 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as lexical variable"); in zend_compile_closure_binding()
7095 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use auto-global as lexical variable"); in zend_compile_closure_binding()
7100 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_closure_binding()
7233 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_closure_uses()
7287 zend_error(E_COMPILE_ERROR, "Cannot use 'readonly' as method modifier"); in zend_begin_method_decl()
7296 zend_error_noreturn(E_COMPILE_ERROR, "Access type for interface method " in zend_begin_method_decl()
7300 zend_error_noreturn(E_COMPILE_ERROR, "Interface method " in zend_begin_method_decl()
7304 zend_error_noreturn(E_COMPILE_ERROR, "Interface method " in zend_begin_method_decl()
7312 zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", in zend_begin_method_decl()
7317 zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", in zend_begin_method_decl()
7323 zend_error_noreturn(E_COMPILE_ERROR, "Non-abstract method %s::%s() must contain body", in zend_begin_method_decl()
7334 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::%s()", in zend_begin_method_decl()
7370 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare function %s " in zend_begin_func_decl()
7376 zend_error_noreturn(E_COMPILE_ERROR, in zend_begin_func_decl()
7381 zend_error(E_COMPILE_ERROR, in zend_begin_func_decl()
7515 CG(active_class_entry), (zend_function *) op_array, lcname, E_COMPILE_ERROR); in zend_compile_func_decl()
7554 zend_error_noreturn(E_COMPILE_ERROR, "Interfaces may not include properties"); in zend_compile_prop_decl()
7558 zend_error_noreturn(E_COMPILE_ERROR, "Enum %s cannot include properties", ZSTR_VAL(ce->name)); in zend_compile_prop_decl()
7562 zend_error_noreturn(E_COMPILE_ERROR, "Properties cannot be declared abstract"); in zend_compile_prop_decl()
7581 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7593 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare property %s::$%s final, " in zend_compile_prop_decl()
7599 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", in zend_compile_prop_decl()
7613 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7618 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7636 zend_error_noreturn(E_COMPILE_ERROR, "Readonly property %s::$%s must have type", in zend_compile_prop_decl()
7640 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7645 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7673 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'static' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7675 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'abstract' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7677 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'final' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7679 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'readonly' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7706E_COMPILE_ERROR, "Private constant %s::%s cannot be final as it is not visible to other classes", in zend_compile_class_const_decl()
7804 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use traits inside of interfaces. " in zend_compile_use_trait()
7881 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_enum_backing_type()
7911 zend_error_noreturn(E_COMPILE_ERROR, "Class declarations may not be nested"); in zend_compile_class_decl()
7923 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare class %s " in zend_compile_class_decl()
8094 zend_error_noreturn(E_COMPILE_ERROR, "Case can only be used in enums"); in zend_compile_enum_case()
8112 zend_error_noreturn(E_COMPILE_ERROR, "Case %s of backed enum %s must have a value", in zend_compile_enum_case()
8116 zend_error_noreturn(E_COMPILE_ERROR, "Case %s of non-backed enum %s must not have a value", in zend_compile_enum_case()
8193 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use%s %s as %s because the name " in zend_check_already_in_use()
8239 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use %s as %s because '%s' " in zend_compile_use()
8261 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use%s %s as %s because the name " in zend_compile_use()
8309 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_decl()
8319 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare const %s because " in zend_compile_const_decl()
8346 zend_error_noreturn(E_COMPILE_ERROR, "Cannot mix bracketed namespace declarations " in zend_compile_namespace()
8353 zend_error_noreturn(E_COMPILE_ERROR, "Cannot mix bracketed namespace declarations " in zend_compile_namespace()
8356 zend_error_noreturn(E_COMPILE_ERROR, "Namespace declarations cannot be nested"); in zend_compile_namespace()
8363 zend_error_noreturn(E_COMPILE_ERROR, "Namespace declaration statement has to be " in zend_compile_namespace()
8375 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use '%s' as namespace name", ZSTR_VAL(name)); in zend_compile_namespace()
8406 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_halt_compiler()
8654 zend_error(E_COMPILE_ERROR, "Cannot use list() as standalone expression"); in zend_try_ct_eval_array()
8666 zend_error(E_COMPILE_ERROR, "Cannot use empty array elements in arrays"); in zend_try_ct_eval_array()
8723 zend_error_noreturn(E_COMPILE_ERROR, "Only arrays and Traversables can be unpacked"); in zend_try_ct_eval_array()
8760 zend_error_noreturn(E_COMPILE_ERROR, "Illegal offset type"); in zend_try_ct_eval_array()
9056 zend_error(E_COMPILE_ERROR, "The (unset) cast is no longer supported"); in zend_compile_cast()
9103 zend_error(E_COMPILE_ERROR, in zend_compile_conditional()
9107 zend_error(E_COMPILE_ERROR, in zend_compile_conditional()
9113 zend_error(E_COMPILE_ERROR, in zend_compile_conditional()
9198 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_assign_coalesce()
9364 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_yield_from()
9437 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_isset_or_empty()
9451 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for reading"); in zend_compile_isset_or_empty()
9560 zend_error(E_COMPILE_ERROR, "Cannot use empty array elements in arrays"); in zend_compile_array()
9722 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use \"::class\" on value of type %s", in zend_compile_class_name()
9938 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_const()
9946 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_const()
9970 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_name()
9986 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_name()
10034 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_new()
10038 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_new()
10045 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_new()
10062 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_args()
10068 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_args()
10091 zend_error_noreturn(E_COMPILE_ERROR, "Constant expression contains invalid operations"); in zend_compile_const_expr()
10109 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr()
10471 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_var_inner()
10649 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for reading"); in zend_eval_const_expr()
10654 …zend_error(E_COMPILE_ERROR, "Array and string offset access syntax with curly braces is no longer … in zend_eval_const_expr()