--TEST--
Bug #42488 (SoapServer reports an encoding error and the error itself breaks)
--SKIPIF--
--INI--
soap.wsdl_cache_enabled=0
--FILE--
EOF;
$soap = new SoapServer(NULL, array('uri'=>'test://'));
function getBadUTF(){
return "stuff\x93thing";
}
$soap->addFunction('getBadUTF');
$soap->handle($request);
?>
--EXPECT--
SOAP-ENV:ServerSOAP-ERROR: Encoding: string 'stuff\x93...' is not a valid utf-8 string