3 ms·
>> "So essentially, PHP 9.0 is a different language How did you come to that conclusion from that post?
by alberth 5y ago
>> "So essentially, PHP 9.0 is a different language
How did you come to that conclusion from that post?
- bovermyer 5y agoPerhaps I should have qualified the phrase "different language." It'd be more accurate to say 9.0 is a dialect, rather than a wholly separate language.
- tored 5y agoYou can of course argue that any major update that breaks backwards combability the slightest is a dialect of the previous version, but that is just silly. - Looking for PHP 8.2 dialect programmers! - I have only coded in PHP 8.1 dialect. - Sorry, won't do. The changelog tells you want you need to fix on existing code when upgrading and the manual usually gives you a workaround if it is something larger. And in this specific case you just add the attribute #[AllowDynamicProperties] to you dynamic class and be done with it.