[wp-trac] [WordPress Trac] #56034: PHP 8.2: proposal for handling unknown dynamic properties deprecations
WordPress Trac
noreply at wordpress.org
Thu May 2 06:02:32 UTC 2024
#56034: PHP 8.2: proposal for handling unknown dynamic properties deprecations
----------------------------+--------------------------------
Reporter: jrf | Owner: hellofromTonya
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 6.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: php82 | Focuses: php-compatibility
----------------------------+--------------------------------
Comment (by jrf):
Replying to [comment:70 antonvlasenko]:
> I'd like to highlight a point not previously mentioned in the
discussion.
> When implementing the missing magic methods in the class, it may be
beneficial to allow setting of public properties that were previously
unset but now need to be assigned new values.
@antonvlasenko More than anything, that exactly the kind of situation why
I have been advocating that we should try to _get rid of_ magic methods
instead of fixing/introducing them....
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56034#comment:71>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list