On 14.02.2025 12:57, Derick Rethans wrote:
None of the current attributes (ReturnTypeWillChange,
AllowDynamicProperties, SensitiveParameter, Override, and Deprecated)
change the behaviour of how a program runs. They only add warnings. with
the exception of AllowDynamicProperties to be an actual 'feature' in PHP
9.0 (now it's only a deprecation warning silencer).
For clarity, it's not AllowDynamicProperties attribute throwing an exception in PHP9, it's use of a "dynamic" property on an object not marked with this attribute. So, I'm not sure it's a valid exception to the rule.
--
Aleksander Machniak
Kolab Groupware Developer [https://kolab.org]
Roundcube Webmail Developer [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com