public function vfsStreamWrapperFileTestCase::setsPointerToStartWhenOpenedWithModeCplus in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperFileTestCase.php \org\bovigo\vfs\vfsStreamWrapperFileTestCase::setsPointerToStartWhenOpenedWithModeCplus()
@test @group issue_30
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperFileTestCase.php, line 402
Class
Namespace
org\bovigo\vfsCode
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);
}