bug49898.phpt 405 B

1234567891011121314
  1. --TEST--
  2. Test for bug #49898: SoapClient::__getCookies() implementation
  3. --CREDITS--
  4. Boro Sitnikovski <buritomath@yahoo.com>
  5. --EXTENSIONS--
  6. soap
  7. --FILE--
  8. <?php
  9. $client = new SoapClient(null, array('uri' => 'mo:http://www.w3.org/', 'location' => 'http://some.url'));
  10. $client->__setCookie("CookieTest", "HelloWorld");
  11. var_dump($client->__getCookies()['CookieTest'][0]);
  12. ?>
  13. --EXPECT--
  14. string(10) "HelloWorld"