Repository navigation
Conversation
b1e420c to
772e99f
Compare
|
Is it just because of the compile-time offset of CG or EG from _tsrm_ls_cache? Otherwise an ABI change could be an issue in NTS too, wouldn't it? If it is limited to ZTS because of the former, perhaps we could add the padding (or set alignment) on the parent struct? If it's the latter, this is the right approach. |
Yes, if the structs grow
I don't quite understand. You mean omit the offset for NTS? Technically the padding is not needed there, but we can also avoid the other technical ABI break above with this, so it doesn't hurt. |
I meant specifying the padding at the compile time offset define. But as this also fixes the technical ABI break in NTS, yes, this is better. Let me check something about alignment later on desktop, other than that +1. |
|
Adding the padding to the offset number directly also means you'd have to sync the two locations, right? So I think this is more explicit.
Thanks! This will need to land tomorrow to get included in the last RC. Sorry to rush you. 😅 |
|
Home in an hour and a half! |
|
@henderkes Great, thanks for checking |
…ds in patches Closes phpGH-25356
…ds in patches Closes phpGH-25356
/cc @henderkes