-
Notifications
You must be signed in to change notification settings - Fork 7.9k
fake closure comparison #7223
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
fake closure comparison #7223
Conversation
7c3a7b9
to
9474ae5
Compare
31f6efa
to
6e32816
Compare
6e32816
to
d600213
Compare
Implementation looks okay, but I think this will need a mail to internals. |
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 think $closure == $closure
should always return true for the same object.
Also, this should test the expected behavior of closures with static variables
EDIT: Never mind, PHP's ==
uses zend_compare_objects, which has that check already
Merged as 6a9daaf |
Discussion: https://externals.io/message/115375