-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Segmentation fault in PHP 8.1 (another case) #8591
Comments
Very good bug report, thank you! |
Same behavior with a trait instead of an interface. And the same behavior with parent class instead of interface. |
Thank you for the high qualify bug report! This is indeed similar to #8461: We do not add guards in method calls when the method is non-polymorphic (e.g. private/final), with the assumption that it would not change. This assumption does not hold true across requests. Possible fix: #8600. I added you as co-author. |
Fixed in #8600 |
Description
The issue is similar to #8461
Steps to reproduce:
Run this test with
--repeat 2
:bug.zip
Added a second test with a trait instead of an interface:
bug-trait.zip
Backtrace:
Possible related to #7817
PHP Version
PHP 8.1
Operating System
AlmaLinux release 8.5 (Arctic Sphynx)
The text was updated successfully, but these errors were encountered: