--TEST-- client static cookies --SKIPIF-- --FILE-- setCookies(array("test" => "bar")); $client->addCookies(array("foo" => "test")); $client->enqueue($request); $client->send(); var_dump($client->getResponse()->getBody()->toString()); $request->setOptions(array("cookies" => x($client->getCookies()))); $client->requeue($request); $client->send(); var_dump($client->getResponse()->getBody()->toString()); } ?> Done --EXPECTREGEX-- Test (?:string\(46\) "Array \( \[test\] \=\> bar \[foo\] \=\> test \) " string\(46\) "Array \( \[test\] \=\> test \[foo\] \=\> bar \) " )+Done