4 ms·
You 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. -
by tored 4y ago
You 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.