From: David Coallier Date: Wed, 7 May 2008 15:14:16 +0000 (+0000) Subject: - Bug #44811 (Improved error message for creating invalid new SoapClient) X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb2ae8ee734167e48a974ff80dedd432b2fa4366;p=php - Bug #44811 (Improved error message for creating invalid new SoapClient) --- diff --git a/ext/soap/tests/bugs/44811.phpt b/ext/soap/tests/bugs/44811.phpt new file mode 100644 index 0000000000..341e5af512 --- /dev/null +++ b/ext/soap/tests/bugs/44811.phpt @@ -0,0 +1,20 @@ +--TEST-- +Bug #44811 (Improve error messages when creating new SoapClient + which contains invalid data) +--SKIPIF-- + +--INI-- +soap.wsdl_cache_enabled=0 +--FILE-- +getMessage() . PHP_EOL; +} +die('ok'); +?> +--EXPECT-- +SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://slashdot.org' : Premature end of data in tag html line 3 + +ok