summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_streams.h')
-rw-r--r--main/php_streams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 77a2234d92..79ceaf2761 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -210,6 +210,8 @@ struct _php_stream {
zend_resource *ctx;
int flags; /* PHP_STREAM_FLAG_XXX */
+ int eof;
+
/* buffer */
zend_off_t position; /* of underlying stream */
unsigned char *readbuf;
@@ -220,8 +222,6 @@ struct _php_stream {
/* how much data to read when filling buffer */
size_t chunk_size;
- int eof;
-
#if ZEND_DEBUG
const char *open_filename;
uint open_lineno;