--TEST--
Bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0)
--EXTENSIONS--
soap
--INI--
soap.wsdl_cache_enabled=0
--FILE--
1
EOF;
function Test($x) {
return $x->priority;
}
$x = new SoapServer(__DIR__."/bug39832.wsdl");
$x->addFunction("Test");
$x->handle($HTTP_RAW_POST_DATA);
?>
--EXPECT--
SOAP-ENV:ServerSOAP-ERROR: Encoding: Violation of encoding rules