public function setsPointerToStartWhenOpenedWithModeCplus() { $vfsFile = vfsStream::url('foo/overwrite.txt'); file_put_contents($vfsFile, 'test'); $fp = fopen($vfsFile, 'cb+'); $this->assertEquals(0, ftell($fp)); fclose($fp); }