Skip to content

Fix op2 caching for static properties #16380

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

Closed

Conversation

iluuu1994
Copy link
Member

op2.num may contain other flags, like ZEND_FETCH_CLASS_EXCEPTION. These currently circumvent caching. Once the property is cached, these flags have no influence on the result, so it doesn't seem like this was done on purpose.

@dstogov Please let me know if you think this should be backported.

op2.num may contain other flags, like ZEND_FETCH_CLASS_EXCEPTION. These
currently circumvent caching. Once the property is cached, these flags have no
influence on the result, so it doesn't seem like this was done on purpose.
@iluuu1994
Copy link
Member Author

I see, coincidentally, the same fix was applied to the JIT just a few days ago. 0ef2a22

@iluuu1994 iluuu1994 closed this in c5745f4 Oct 14, 2024
@iluuu1994
Copy link
Member Author

Oops, accidentally linked this in an unrelated commit.

@iluuu1994 iluuu1994 reopened this Oct 14, 2024
@iluuu1994 iluuu1994 closed this in 67318e9 Oct 14, 2024
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