--TEST--
Bug #42214 (SoapServer sends clients internal PHP errors)
--EXTENSIONS--
soap
--FILE--
EOF;
function test() {
$a = $b;
obvious_error(); // will cause an error
}
$server = new SoapServer(NULL, array('uri' =>'http://localhost/server.php',
'send_errors'=>0));
$server->addFunction('test');
$server->handle($request);
?>
--EXPECT--
SOAP-ENV:ServerInternal Error