-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Debug] workaround opcache bug mutating "$this" !?! #29349
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
a6f32ec
to
e2b4c8d
Compare
…as-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [Debug] workaround opcache bug mutating "$this" !?! | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #29347 | License | MIT | Doc PR | - This makes absolutely no sense but works around an OPcache bug. Commits ------- e2b4c8d [Debug] workaround opcache bug mutating "$this" !?!
has it been reported upstream so that OPCache gets fixed ? |
also 4.1 branch is affected. will it be addressed? |
@fightbulc We always merge lower branches into more recent branches. So all maintained Symfony versions will get this fix. |
@nicolas-grekas I think we got hit by this bug; after some testing it seems it's opcache optimization 5th pass which triggers this. Setting opcache.optimization_level=0xFFFFFFEF fixed our issue. Has this bug been reported PHP side? Do you have an explanation? |
Nope, i didn't report, please do if you want. |
If you were able to devise a workaround I guess you know more about this bug than me. Could you share the knowledge? 😃 |
This makes absolutely no sense but works around an OPcache bug.