Skip to content

Commit 6e6752f

Browse files
committed
ext/phar: pad _phar_entry_info struct
This saves 8 bytes by going from 152 to 144 bytes
1 parent 453f9e1 commit 6e6752f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/phar_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ typedef struct _phar_entry_info {
205205
uint32_t old_flags;
206206
phar_metadata_tracker metadata_tracker;
207207
zend_string *filename;
208-
enum phar_fp_type fp_type;
209208
/* offset within original phar file of the file contents */
210209
zend_long offset_abs;
211210
/* offset within fp of the file contents */
@@ -214,6 +213,7 @@ typedef struct _phar_entry_info {
214213
zend_long header_offset;
215214
php_stream *fp;
216215
php_stream *cfp;
216+
enum phar_fp_type fp_type;
217217
int fp_refcount;
218218
char *tmp;
219219
phar_archive_data *phar;

0 commit comments

Comments
 (0)