--TEST--
Bug #50675 SoapClient can't handle object references correctly.
--EXTENSIONS--
soap
--FILE--
soapenv:Server.userException
service.EchoServiceException
105
string param
steckovic
EOF;
}
}
ini_set('soap.wsdl_cache_enabled', 0);
$parameters = [
'trace' => 1,
'exceptions' => 0,
];
$client = new TestSoapClient(__DIR__ . '/bug50675.wsdl', $parameters);
$person = new stdClass();
$person->name = 'name';
$result = $client->echoPerson($person, $person);
print($client->__getLastRequest());
?>
--EXPECT--
name