Skip to content

Zend: Make EG(fake_scope) a const zend_class_entry* #19060

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented Jul 7, 2025

No description provided.

@TimWolla TimWolla force-pushed the fake-scope-const branch from 99db870 to 6f56869 Compare July 7, 2025 10:59
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me, is there a motivation beside adding a const qualifier (something I am all for regardless)?

@TimWolla
Copy link
Member Author

TimWolla commented Jul 7, 2025

is there a motivation beside adding a const qualifier

I wanted to make the scope parameter for clone-with const, but couldn't, since EG(fake_scope) wasn't const.

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