-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fixed bug #76337: use interned string for class alias name #3241
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
@xKerman Maybe a test for new users understand what was wrong? :) |
I see, I will explain what the cause is. |
@carusogabriel added test for this fix using |
@xKerman strangely the test code doesn't crash on my side without the patch. Perhaps load order or something else yet involved? Thanks. |
@weltling I can reproduce that with macOS + clang compiler. It seems that, for some compiler optimization, null pointer check is skipped in NULL key in
So perhaps test code will crash if deleting |
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.
LGTM, AppVeyor failures are unrelated.
Thanks for comment, review and merge! |
fix for https://bugs.php.net/bug.php?id=76337