public function FunctionsTest::testKeepsPositionOfResource in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testKeepsPositionOfResource()
File
- vendor/
guzzlehttp/ psr7/ tests/ FunctionsTest.php, line 343
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testKeepsPositionOfResource() {
$h = fopen(__FILE__, 'r');
fseek($h, 10);
$stream = Psr7\stream_for($h);
$this
->assertEquals(10, $stream
->tell());
$stream
->close();
}