public function FunctionsTest::testEncodesWithRfc3986 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testEncodesWithRfc3986()
File
- vendor/
guzzlehttp/ psr7/ tests/ FunctionsTest.php, line 218
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testEncodesWithRfc3986() {
$str = Psr7\build_query([
'foo bar' => 'baz+',
], PHP_QUERY_RFC3986);
$this
->assertEquals('foo%20bar=baz%2B', $str);
}