Fixed bug #76337: use interned string for class alias name#3241
Fixed bug #76337: use interned string for class alias name#3241xKerman wants to merge 3 commits intophp:PHP-7.2from
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 |
nikic
left a comment
There was a problem hiding this comment.
LGTM, AppVeyor failures are unrelated.
|
Thanks for comment, review and merge! |
fix for https://bugs.php.net/bug.php?id=76337