This commit is contained in:
2022-10-23 01:39:27 +02:00
parent 8c17aab483
commit 1929b84685
4130 changed files with 479334 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace RingCentral\Tests\Psr7;
use RingCentral\Psr7;
use RingCentral\Psr7\InflateStream;
function php53_gzencode($data)
{
return gzdeflate($data);
}
class InflateStreamtest extends \PHPUnit_Framework_TestCase
{
public function testInflatesStreams()
{
$content = gzencode('test');
$a = Psr7\stream_for($content);
$b = new InflateStream($a);
$this->assertEquals('test', (string) $b);
}
}