org\bovigo\vfs\vfsStreamWrapperSelectStreamTestCase::selectStream PHP Méthode

selectStream() public méthode

public selectStream ( )
    public function selectStream()
    {
        $root = vfsStream::setup();
        $file = vfsStream::newFile('foo.txt')->at($root)->withContent('testContent');
        $fp = fopen(vfsStream::url('root/foo.txt'), 'rb');
        $readarray = array($fp);
        $writearray = array();
        $exceptarray = array();
        stream_select($readarray, $writearray, $exceptarray, 1);
    }
vfsStreamWrapperSelectStreamTestCase