Skip to content

Commit 7081c9b

Browse files
committed
Reorder to save alignment size (of course, only for common used structs)
1 parent 8f177fd commit 7081c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/php_streams.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ struct _php_stream {
210210
zend_resource *ctx;
211211
int flags; /* PHP_STREAM_FLAG_XXX */
212212

213+
int eof;
214+
213215
/* buffer */
214216
zend_off_t position; /* of underlying stream */
215217
unsigned char *readbuf;
@@ -220,8 +222,6 @@ struct _php_stream {
220222
/* how much data to read when filling buffer */
221223
size_t chunk_size;
222224

223-
int eof;
224-
225225
#if ZEND_DEBUG
226226
const char *open_filename;
227227
uint open_lineno;

0 commit comments

Comments
 (0)