You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, some LB code had a problem with OPcache, because of IS_CONSTANT_AST constants being used in immutable classes. These AST were referencing constants which didn't exist on the target worker. This would have been fine (since the constants would normally be resolved during class compile (I think?), but since the classes were inherited without copying their resolved constant data, these constant references suddenly stopped working on PHP 8.1.
The text was updated successfully, but these errors were encountered:
dktapps
changed the title
Copy resolved constant data
Copy mutable resolved constant data for immutable classes
Jun 22, 2023
Recently, some LB code had a problem with OPcache, because of IS_CONSTANT_AST constants being used in immutable classes. These AST were referencing constants which didn't exist on the target worker. This would have been fine (since the constants would normally be resolved during class compile (I think?), but since the classes were inherited without copying their resolved constant data, these constant references suddenly stopped working on PHP 8.1.
The text was updated successfully, but these errors were encountered: