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