Skip to content

Added readonly reinitable helper#22718

Open
NickSdot wants to merge 3 commits into
php:masterfrom
NickSdot:readonly-reinitable-helper
Open

Added readonly reinitable helper#22718
NickSdot wants to merge 3 commits into
php:masterfrom
NickSdot:readonly-reinitable-helper

Conversation

@NickSdot

Copy link
Copy Markdown
Contributor

Follow up to #22654 as discussed in #22588 (comment).

Added zend_object_set_properties_reinitable() to centralise temporarily allowing reinitialisation of initialised readonly properties during controlled operations such as cloning and unserialisation.

cc @TimWolla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant