Lines Matching refs:E_COMPILE_ERROR

205 		zend_error_noreturn(E_COMPILE_ERROR,  in zend_assert_valid_class_name()
943 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_class_name()
947 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_class_name()
963 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_class_name()
1004 zend_error_noreturn(E_COMPILE_ERROR, "Illegal class name"); in zend_resolve_class_name_ast()
1074 int error_level = compile_time ? E_COMPILE_ERROR : E_ERROR; in do_bind_function_error()
1123 …zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", z… in zend_bind_class_in_slot()
1159 …zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", z… in do_bind_class()
1298 zend_error_noreturn(E_COMPILE_ERROR, in zend_mark_function_as_generator()
1318 zend_error_noreturn(E_COMPILE_ERROR, in zend_mark_function_as_generator()
1601 zend_error_noreturn(E_COMPILE_ERROR, in zend_resolve_const_class_name_reference()
1613 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use \"%s\" when no class scope is active", in zend_ensure_valid_class_fetch_type()
1617 zend_error_noreturn(E_COMPILE_ERROR, in zend_ensure_valid_class_fetch_type()
1636 zend_error_noreturn(E_COMPILE_ERROR, "Illegal class name"); in zend_try_compile_const_expr_resolve_class_name()
1993 zend_error_noreturn(E_COMPILE_ERROR, "No code may exist outside of namespace {}"); in zend_verify_namespace()
2460 zend_error_noreturn(E_COMPILE_ERROR, in zend_emit_return_type_check()
2464 zend_error_noreturn(E_COMPILE_ERROR, "A void function must not return a value"); in zend_emit_return_type_check()
2475 zend_error_noreturn(E_COMPILE_ERROR, "A never-returning function must not return"); in zend_emit_return_type_check()
2481 zend_error_noreturn(E_COMPILE_ERROR, in zend_emit_return_type_check()
2485 zend_error_noreturn(E_COMPILE_ERROR, in zend_emit_return_type_check()
2654 zend_error_noreturn(E_COMPILE_ERROR, "Illegal class name"); in zend_compile_class_ref()
2829 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use result of built-in function in write context"); in zend_separate_if_call_and_write()
2848 …zend_error(E_COMPILE_ERROR, "Array and string offset access syntax with curly braces is no longer … in zend_delayed_compile_dim()
2858 zend_error_noreturn(E_COMPILE_ERROR, "Cannot append to $GLOBALS"); in zend_delayed_compile_dim()
2882 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for reading"); in zend_delayed_compile_dim()
2885 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for unsetting"); in zend_delayed_compile_dim()
3033 zend_error_noreturn(E_COMPILE_ERROR, "Cannot assign to array(), use [] instead"); in zend_verify_list_assign_target()
3036 zend_error_noreturn(E_COMPILE_ERROR, "Cannot mix [] and list()"); in zend_verify_list_assign_target()
3039 zend_error_noreturn(E_COMPILE_ERROR, "Assignments can only happen to writable values"); in zend_verify_list_assign_target()
3099 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3107 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3117 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3124 zend_error(E_COMPILE_ERROR, in zend_compile_list_assign()
3158 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use empty list"); in zend_compile_list_assign()
3172 zend_error_noreturn(E_COMPILE_ERROR, "Can't use function return value in write context"); in zend_ensure_writable_variable()
3179 zend_error_noreturn(E_COMPILE_ERROR, "Can't use method return value in write context"); in zend_ensure_writable_variable()
3182 zend_error_noreturn(E_COMPILE_ERROR, "Can't use nullsafe operator in write context"); in zend_ensure_writable_variable()
3185 zend_error_noreturn(E_COMPILE_ERROR, in zend_ensure_writable_variable()
3242 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_assign()
3298 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_assign()
3301 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_assign()
3341 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_assign_ref()
3345 zend_error_noreturn(E_COMPILE_ERROR, "Cannot take reference of a nullsafe chain"); in zend_compile_assign_ref()
3348 zend_error_noreturn(E_COMPILE_ERROR, "Cannot acquire reference to $GLOBALS"); in zend_compile_assign_ref()
3371 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use result of built-in function in write context"); in zend_compile_assign_ref()
3527 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_args()
3572 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_args()
3577 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_args()
3735 zend_error_noreturn(E_COMPILE_ERROR, "Cannot create Closure for new expression"); in zend_compile_call_common()
4594 zend_error_noreturn(E_COMPILE_ERROR, "Method name must be a string"); in zend_compile_method_call()
4620 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_method_call()
4669 zend_error_noreturn(E_COMPILE_ERROR, "Method name must be a string"); in zend_compile_static_call()
4777 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as global variable"); in zend_compile_global_var()
4813 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as static variable"); in zend_compile_static_var_common()
4849 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for unsetting"); in zend_compile_unset()
4865 zend_error_noreturn(E_COMPILE_ERROR, "Cannot unset $this"); in zend_compile_unset()
4997 zend_error_noreturn(E_COMPILE_ERROR, "Cannot take reference of a nullsafe chain"); in zend_compile_return()
5079 zend_error_noreturn(E_COMPILE_ERROR, "'%s' operator with non-integer operand " in zend_compile_break_continue()
5085 zend_error_noreturn(E_COMPILE_ERROR, "'%s' operator accepts only positive integers", in zend_compile_break_continue()
5095 zend_error_noreturn(E_COMPILE_ERROR, "'%s' not in the 'loop' or 'switch' context", in zend_compile_break_continue()
5099 zend_error_noreturn(E_COMPILE_ERROR, "Cannot '%s' " ZEND_LONG_FMT " level%s", in zend_compile_break_continue()
5158 zend_error_noreturn(E_COMPILE_ERROR, "'goto' to undefined label '%s'", Z_STRVAL_P(label)); in zend_resolve_goto_label()
5170 zend_error_noreturn(E_COMPILE_ERROR, "'goto' into loop or switch statement is disallowed"); in zend_resolve_goto_label()
5236 zend_error_noreturn(E_COMPILE_ERROR, "Label '%s' already defined", ZSTR_VAL(label)); in zend_compile_label()
5358 zend_error_noreturn(E_COMPILE_ERROR, "Key element cannot be a reference"); in zend_compile_foreach()
5361 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use list as key element"); in zend_compile_foreach()
5392 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_foreach()
5588 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_switch()
5744 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_match()
5914 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use try without catch or finally"); in zend_compile_try()
5971 zend_error_noreturn(E_COMPILE_ERROR, "Bad class name in the catch statement"); in zend_compile_try()
5987 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_try()
6162 zend_error_noreturn(E_COMPILE_ERROR, "declare(%s) value must be a literal", ZSTR_VAL(name)); in zend_compile_declare()
6173 zend_error_noreturn(E_COMPILE_ERROR, "Encoding declaration pragma must be " in zend_compile_declare()
6180 zend_error_noreturn(E_COMPILE_ERROR, "strict_types declaration must be " in zend_compile_declare()
6185 zend_error_noreturn(E_COMPILE_ERROR, "strict_types declaration must not " in zend_compile_declare()
6192 zend_error_noreturn(E_COMPILE_ERROR, "strict_types declaration must have 0 or 1 as its value"); in zend_compile_declare()
6252 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_single_typename()
6262 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_single_typename()
6343 zend_error_noreturn(E_COMPILE_ERROR, "Type mixed can only be used as a standalone type"); in zend_compile_typename()
6350 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6377 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6414 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6421 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6433 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6456 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6462 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6468 …zend_error_noreturn(E_COMPILE_ERROR, "Type mixed cannot be marked as nullable since mixed already … in zend_compile_typename()
6473 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_typename()
6479 zend_error_noreturn(E_COMPILE_ERROR, "Void can only be used as a standalone type"); in zend_compile_typename()
6483 zend_error_noreturn(E_COMPILE_ERROR, "never can only be used as a standalone type"); in zend_compile_typename()
6489 zend_error_noreturn(E_COMPILE_ERROR, "Null can not be used as a standalone type"); in zend_compile_typename()
6491 zend_error_noreturn(E_COMPILE_ERROR, "False can not be used as a standalone type"); in zend_compile_typename()
6540 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_attributes()
6563 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_attributes()
6575 zend_error_noreturn(E_COMPILE_ERROR, "Duplicate named parameter $%s", in zend_compile_attributes()
6580 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_attributes()
6681 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign auto-global variable %s", in zend_compile_params()
6689 zend_error_noreturn(E_COMPILE_ERROR, "Redefinition of parameter $%s", in zend_compile_params()
6692 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as parameter"); in zend_compile_params()
6696 zend_error_noreturn(E_COMPILE_ERROR, "Only the last parameter can be variadic"); in zend_compile_params()
6705 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6761 zend_error_noreturn(E_COMPILE_ERROR, "void cannot be used as a parameter type"); in zend_compile_params()
6765 zend_error_noreturn(E_COMPILE_ERROR, "never cannot be used as a parameter type"); in zend_compile_params()
6770 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6780 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6811 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6816 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6820 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6824 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", in zend_compile_params()
6829 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_params()
6847 zend_error_noreturn(E_COMPILE_ERROR, "Readonly property %s::$%s must have type", in zend_compile_params()
6920 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use $this as lexical variable"); in zend_compile_closure_binding()
6924 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use auto-global as lexical variable"); in zend_compile_closure_binding()
6929 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_closure_binding()
7062 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_closure_uses()
7116 zend_error(E_COMPILE_ERROR, "Cannot use 'readonly' as method modifier"); in zend_begin_method_decl()
7125 zend_error_noreturn(E_COMPILE_ERROR, "Access type for interface method " in zend_begin_method_decl()
7129 zend_error_noreturn(E_COMPILE_ERROR, "Interface method " in zend_begin_method_decl()
7133 zend_error_noreturn(E_COMPILE_ERROR, "Interface method " in zend_begin_method_decl()
7141 zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", in zend_begin_method_decl()
7146 zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", in zend_begin_method_decl()
7152 zend_error_noreturn(E_COMPILE_ERROR, "Non-abstract method %s::%s() must contain body", in zend_begin_method_decl()
7163 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::%s()", in zend_begin_method_decl()
7199 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare function %s " in zend_begin_func_decl()
7205 zend_error_noreturn(E_COMPILE_ERROR, in zend_begin_func_decl()
7210 zend_error(E_COMPILE_ERROR, in zend_begin_func_decl()
7337 CG(active_class_entry), (zend_function *) op_array, lcname, E_COMPILE_ERROR); in zend_compile_func_decl()
7371 zend_error_noreturn(E_COMPILE_ERROR, "Interfaces may not include properties"); in zend_compile_prop_decl()
7375 zend_error_noreturn(E_COMPILE_ERROR, "Enums may not include properties"); in zend_compile_prop_decl()
7379 zend_error_noreturn(E_COMPILE_ERROR, "Properties cannot be declared abstract"); in zend_compile_prop_decl()
7398 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7410 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare property %s::$%s final, " in zend_compile_prop_decl()
7416 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", in zend_compile_prop_decl()
7430 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7435 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7449 zend_error_noreturn(E_COMPILE_ERROR, "Readonly property %s::$%s must have type", in zend_compile_prop_decl()
7453 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7458 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_prop_decl()
7486 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'static' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7488 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'abstract' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7490 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'final' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7492 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use 'readonly' as %s modifier", entity); in zend_check_const_and_trait_alias_attr()
7504 zend_error_noreturn(E_COMPILE_ERROR, "Traits cannot have constants"); in zend_compile_class_const_decl()
7524E_COMPILE_ERROR, "Private constant %s::%s cannot be final as it is not visible to other classes", in zend_compile_class_const_decl()
7622 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use traits inside of interfaces. " in zend_compile_use_trait()
7699 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_enum_backing_type()
7732 zend_error_noreturn(E_COMPILE_ERROR, "Class declarations may not be nested"); in zend_compile_class_decl()
7744 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare class %s " in zend_compile_class_decl()
7910 zend_error_noreturn(E_COMPILE_ERROR, "Case can only be used in enums"); in zend_compile_enum_case()
7927 zend_error_noreturn(E_COMPILE_ERROR, "Case %s of backed enum %s must have a value", in zend_compile_enum_case()
7936 E_COMPILE_ERROR, "Enum case value must be compile-time evaluatable"); in zend_compile_enum_case()
7943 …zend_error_noreturn(E_COMPILE_ERROR, "Case %s of non-backed enum %s must not have a value, try add… in zend_compile_enum_case()
7948 zend_error_noreturn(E_COMPILE_ERROR, "Case %s of non-backed enum %s must not have a value", in zend_compile_enum_case()
7955 zend_error_noreturn(E_COMPILE_ERROR, "Enum case type %s does not match enum backing type %s", in zend_compile_enum_case()
7966 zend_error_noreturn(E_COMPILE_ERROR, "Duplicate value in enum %s for cases %s and %s", in zend_compile_enum_case()
7977 zend_error_noreturn(E_COMPILE_ERROR, "Duplicate value in enum %s for cases %s and %s", in zend_compile_enum_case()
8058 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use%s %s as %s because the name " in zend_check_already_in_use()
8104 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use %s as %s because '%s' " in zend_compile_use()
8126 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use%s %s as %s because the name " in zend_compile_use()
8174 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_decl()
8184 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare const %s because " in zend_compile_const_decl()
8211 zend_error_noreturn(E_COMPILE_ERROR, "Cannot mix bracketed namespace declarations " in zend_compile_namespace()
8218 zend_error_noreturn(E_COMPILE_ERROR, "Cannot mix bracketed namespace declarations " in zend_compile_namespace()
8221 zend_error_noreturn(E_COMPILE_ERROR, "Namespace declarations cannot be nested"); in zend_compile_namespace()
8228 zend_error_noreturn(E_COMPILE_ERROR, "Namespace declaration statement has to be " in zend_compile_namespace()
8240 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use '%s' as namespace name", ZSTR_VAL(name)); in zend_compile_namespace()
8271 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_halt_compiler()
8519 zend_error(E_COMPILE_ERROR, "Cannot use list() as standalone expression"); in zend_try_ct_eval_array()
8531 zend_error(E_COMPILE_ERROR, "Cannot use empty array elements in arrays"); in zend_try_ct_eval_array()
8588 zend_error_noreturn(E_COMPILE_ERROR, "Only arrays and Traversables can be unpacked"); in zend_try_ct_eval_array()
8625 zend_error_noreturn(E_COMPILE_ERROR, "Illegal offset type"); in zend_try_ct_eval_array()
8915 zend_error(E_COMPILE_ERROR, "The (unset) cast is no longer supported"); in zend_compile_cast()
8962 zend_error(E_COMPILE_ERROR, in zend_compile_conditional()
8966 zend_error(E_COMPILE_ERROR, in zend_compile_conditional()
8972 zend_error(E_COMPILE_ERROR, in zend_compile_conditional()
9057 zend_error_noreturn(E_COMPILE_ERROR, "Cannot re-assign $this"); in zend_compile_assign_coalesce()
9222 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_yield_from()
9295 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_isset_or_empty()
9309 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for reading"); in zend_compile_isset_or_empty()
9418 zend_error(E_COMPILE_ERROR, "Cannot use empty array elements in arrays"); in zend_compile_array()
9579 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use \"::class\" on value of type %s", in zend_compile_class_name()
9784 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_const()
9792 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_const()
9816 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_name()
9832 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_class_name()
9880 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_new()
9884 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_new()
9891 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_new()
9908 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_args()
9914 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr_args()
9937 zend_error_noreturn(E_COMPILE_ERROR, "Constant expression contains invalid operations"); in zend_compile_const_expr()
9955 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_const_expr()
10317 zend_error_noreturn(E_COMPILE_ERROR, in zend_compile_var_inner()
10495 zend_error_noreturn(E_COMPILE_ERROR, "Cannot use [] for reading"); in zend_eval_const_expr()
10500 …zend_error(E_COMPILE_ERROR, "Array and string offset access syntax with curly braces is no longer … in zend_eval_const_expr()