1--TEST-- 2Bug #44811 (Improve error messages when creating new SoapClient which contains invalid data) 3--EXTENSIONS-- 4soap 5--SKIPIF-- 6<?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?> 7--INI-- 8soap.wsdl_cache_enabled=0 9--FILE-- 10<?php 11try { 12 $x = new SoapClient('https://php.net'); 13} catch (SoapFault $e) { 14 echo $e->getMessage() . PHP_EOL; 15} 16die('ok'); 17?> 18--EXPECTF-- 19SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://php.net' : %s 20 21ok 22