Explicitly rewind in-memory streams before asserting contents
GridFS streams do not yet support seeking (PHPLIB-213), and HHVM requires a stream_seek() implementation in order to pass a non-negative offset to stream_get_contents().
Showing
Please
register
or
sign in
to comment