コード例 #1
0
ファイル: CookieTest.php プロジェクト: wagnert/http
 public function testHttpCookieToStringMethodWithBooleanFalseAsValue()
 {
     $cookie = new HttpCookie('testCookie');
     $cookie->setValue(false);
     $this->assertSame($cookie->__toString(), 'testCookie=0; Path=/; HttpOnly');
 }