Skip to content

Commit 25159e0

Browse files
committed
sapi: pack globals struct
Size goes from 632 to 624 bytes
1 parent c30acf5 commit 25159e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main/SAPI.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ typedef struct _sapi_globals_struct {
134134
int64_t read_post_bytes;
135135
bool post_read;
136136
bool headers_sent;
137+
bool sapi_started;
138+
int options;
137139
zend_stat_t global_stat;
138140
char *default_mimetype;
139141
char *default_charset;
140142
HashTable *rfc1867_uploaded_files;
141143
zend_long post_max_size;
142-
int options;
143-
bool sapi_started;
144144
double global_request_time;
145145
HashTable known_post_content_types;
146146
zend_fcall_info_cache send_header_fcc;

0 commit comments

Comments
 (0)