summaryrefslogtreecommitdiff
path: root/main/memory_streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/memory_streams.c')
-rw-r--r--main/memory_streams.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/memory_streams.c b/main/memory_streams.c
index 65d4956b04..fdd074903f 100644
--- a/main/memory_streams.c
+++ b/main/memory_streams.c
@@ -232,10 +232,11 @@ static int php_stream_memory_cast(php_stream *stream, int castas, void **ret TSR
php_stream_ops php_stream_memory_ops = {
php_stream_memory_write, php_stream_memory_read,
php_stream_memory_close, php_stream_memory_flush,
+ "MEMORY",
php_stream_memory_seek,
php_stream_memory_gets,
php_stream_memory_cast,
- "MEMORY"
+ NULL
};
@@ -448,10 +449,11 @@ static int php_stream_temp_cast(php_stream *stream, int castas, void **ret TSRML
php_stream_ops php_stream_temp_ops = {
php_stream_temp_write, php_stream_temp_read,
php_stream_temp_close, php_stream_temp_flush,
+ "TEMP",
php_stream_temp_seek,
php_stream_temp_gets,
php_stream_temp_cast,
- "TEMP"
+ NULL
};