Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Zend/zend_globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ struct _zend_compiler_globals {
#ifdef ZTS
uint32_t copied_functions_count;
#endif

/* Padding to maintain ABI compatibility for ZTS compile-time offsets. For
* supported versions, add fields to this nested struct. For master, move them
* to the top-level struct. */
union {
uint64_t padding[8];
// struct { Add here. };
};
};


Expand Down Expand Up @@ -339,6 +347,12 @@ struct _zend_executor_globals {
void *reserved[ZEND_MAX_RESERVED_RESOURCES];

zend_oom_info delayed_oom;

/* See comment on zend_compiler_globals.padding. */
union {
uint64_t padding[8];
// struct { Add here. };
};
};

#ifdef ZTS
Expand Down
Loading