1 ERROR
: File
"const_in_interface_overridden1_bad.php", line 6, characters 29-29:
2 Some members in class `C` are incompatible with those declared in type `I`
(Typing
[4374])
3 File
"const_in_interface_overridden1_bad.php", line 7, characters 12-21:
4 Non
-abstract constants defined in an interface cannot be overridden when implementing or extending that interface.
5 File
"const_in_interface_overridden1_bad.php", line 4, characters 13-22:
6 You could make `SOME_CONST` abstract in `I`.