Hi Everyone,

I've just written an RFC for final constants:
https://wiki.php.net/rfc/final_class_const. The prior thread can be found
at https://externals.io/message/114066

In my opinion, the main value proposition of this RFC are the following:
- people can make their intention more clear that a constant shouldn't be
overridden
- it can help fix an inconsistency in the language
- the engine can infer the value of a constant in case of references via
late static binding

Máté

Reply via email to