public function vfsStreamWrapperTestCase::statAndFstatReturnSameResult in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::statAndFstatReturnSameResult()
stat() and fstat() should return the same result
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 491
Class
Namespace
org\bovigo\vfsCode
public function statAndFstatReturnSameResult() {
$fp = fopen($this->baz2URL, 'r');
$this
->assertEquals(stat($this->baz2URL), fstat($fp));
fclose($fp);
}