Re: [PHP-DEV] [RFC] Deprecate dynamic properties

This is only part of a thread. view whole thread
August 27, 2021 03:56 (Tobias Nyholm)
Just giving my 2 cents: 

> 2. Remove support for dynamic properties entirely.
I support this RFC and I like the end goal to be to remove the dynamic properties entirely. Dynamic properties are just confusing for beginners. “This is how you declare properties, the scope, the type, name etc.. but you don’t have too…” I also remember that I’ve fixed more than one bug because I misspelled a property name. I understand there will be an impact on legacy code but there is help to find dynamic properties (static analysers) and there is also a clear upgrade path. // Tobias