예제 #1
0
 public function testGetUserInfoNone()
 {
     $scheme = 'https';
     $user = '';
     $password = '';
     $host = 'example.com';
     $path = '/foo/bar';
     $port = 443;
     $query = 'abc=123';
     $fragment = 'section3';
     $uri = new Uri($scheme, $host, $port, $path, $query, $fragment, $user, $password);
     $this->assertEquals('', $uri->getUserInfo());
 }