--TEST-- Bug #76232 (SoapClient Cookie Header Semicolon) --EXTENSIONS-- soap --SKIPIF-- --FILE-- 'http://' . PHP_CLI_SERVER_ADDRESS, 'uri' => 'misc-uri', 'trace' => true, ]); echo "=== Request with one cookie ===\n"; $client->__setCookie('testcookie1', 'true'); $client->__soapCall("foo", []); echo $client->__getLastRequestHeaders(); echo "=== Request with two cookies ===\n"; $client->__setCookie('testcookie2', 'true'); $client->__soapCall("foo", []); echo $client->__getLastRequestHeaders(); ?> --EXPECTF-- === Request with one cookie === POST / HTTP/1.1 Host: %s Connection: Keep-Alive User-Agent: PHP-SOAP/%s Content-Type: text/xml; charset=utf-8 SOAPAction: "misc-uri#foo" Content-Length: %d Cookie: testcookie1=true === Request with two cookies === POST / HTTP/1.1 Host: %s Connection: Keep-Alive User-Agent: PHP-SOAP/%s Content-Type: text/xml; charset=utf-8 SOAPAction: "misc-uri#foo" Content-Length: %d Cookie: testcookie1=true; testcookie2=true