[Wikitech-l] Re: PHP RFC: Deprecate dynamic properties

2021-11-14 Thread Tim Starling
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 like

[Wikitech-l] Re: PHP RFC: Deprecate dynamic properties

2021-11-13 Thread Max Semenik
On Sat, Nov 13, 2021 at 6:01 PM Thiemo Kreuz wrote: > Can we get this the other way around, being able to mark classes > with #[DisallowDynamicProperties]? > That would mean every coding convention around would demand that every class should have this on. Feels like cruft to me. -- Best regard

[Wikitech-l] Re: PHP RFC: Deprecate dynamic properties

2021-11-13 Thread Thiemo Kreuz
Hm. * Can we get this the other way around, being able to mark classes with #[DisallowDynamicProperties]? * 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? Best Thiemo __