--TEST-- SoapServer constructor with an invalid encoding option --EXTENSIONS-- soap --FILE-- 1111, ]; try { $client = new SoapServer($wsdl, $options); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { $client = new ExtendedSoapServer($wsdl, $options); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } ?> --EXPECT-- SOAP-ENV:ServerSoapServer::__construct(): 'soap_version' option must be SOAP_1_1 or SOAP_1_2