Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enum preloading again #8859

Merged
merged 1 commit into from Jun 25, 2022
Merged

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.

None yet

2 participants