Skip to content

Conversation

iluuu1994
Copy link
Member

My assumption was incorrect. With preloading enums do use ZEND_ACC_IMMUTABLE. This PR adds backed_enum_table to zend_class_mutable_data. It's only used for user class as internal classes will not modify the backed enum table at runtime.

@iluuu1994 iluuu1994 merged commit 76fcd70 into php:master Jun 25, 2022
@iluuu1994
Copy link
Member Author

Thanks @arnaud-lb!

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.

2 participants