--TEST-- Bug #29839 (incorrect convert (xml:lang to lang)) --EXTENSIONS-- soap --INI-- soap.wsdl_cache_enabled=0 --FILE-- server = new SoapServer($wsdl, $options); $this->server->addFunction('EchoString'); } function __doRequest($request, $location, $action, $version, $one_way = 0): string { ob_start(); $this->server->handle($request); $response = ob_get_contents(); ob_end_clean(); return $response; } } $client = new LocalSoapClient(__DIR__."/bug29839.wsdl", array("trace"=>1)); $client->EchoString(array("value"=>"hello","lang"=>"en")); echo $client->__getLastRequest(); echo $client->__getLastResponse(); echo "ok\n"; ?> --EXPECT-- hello hello ok