mirror of
https://github.com/php/php-src.git
synced 2024-12-16 21:37:49 +08:00
aebb23e4db
__getCookies() method implementation
15 lines
433 B
PHP
15 lines
433 B
PHP
--TEST--
|
|
Test for bug #49898: SoapClient::__getCookies() implementation
|
|
--CREDITS--
|
|
Boro Sitnikovski <buritomath@yahoo.com>
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
$client = new SoapClient(null, array('uri' => 'mo:http://www.w3.org/', 'location' => 'http://some.url'));
|
|
$client->__setCookie("CookieTest", "HelloWorld");
|
|
var_dump($client->__getCookies()['CookieTest'][0]);
|
|
?>
|
|
--EXPECT--
|
|
string(10) "HelloWorld"
|