facebook/hhvm — pull request #1325 by danslo (2013-12-06 14:27:01+00:00)
Title: fix stream_get_contents when no offset is specified

Other file functions can move the offset of the file descriptor. When
the offset is ommitted, use File::m_position to determine where to seek
to.