public function vfsStreamWrapperSetOptionTestCase::setBlockingDoesNotWork in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperSetOptionTestCase.php \org\bovigo\vfs\vfsStreamWrapperSetOptionTestCase::setBlockingDoesNotWork()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperSetOptionTestCase.php, line 39
Class
- vfsStreamWrapperSetOptionTestCase
- Test for stream_set_option() implementation.
Namespace
org\bovigo\vfsCode
public function setBlockingDoesNotWork() {
$fp = fopen(vfsStream::url('root/foo.txt'), 'rb');
$this
->assertFalse(stream_set_blocking($fp, 1));
fclose($fp);
}