-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Support first-class callables in const-expressions #17213
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
Conversation
b27448a
to
bc6df63
Compare
bc6df63
to
e12d463
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable in general
310fe9f
to
1b65374
Compare
1b65374
to
cb6aaea
Compare
fce235e
to
2b532e6
Compare
The RFC looks exceedingly likely to pass, so marking this one officially ready for review for some others to take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see problems in the implementation.
RFC: https://wiki.php.net/rfc/fcc_in_const_expr