The right place for this kind of feedback is the PHP internals mailing list.
On 14/11/21 2:00 am, Thiemo Kreuz wrote:
Hm.
- Can we get this the other way around, being able to mark classes
with #[DisallowDynamicProperties]?
I did suggest it in my post on October 13. I don't think it is likely to happen.
- I would expect this to be the standard behavior on "final" classes.
Unfortunately the RFC doesn't mention the word "final" anywhere. What do you think?
I don't recall this being discussed.
-- Tim Starling