xref: /PHP-5.5/ext/soap/tests/bugs/bug44811.phpt (revision 1a3f557b)
1--TEST--
2Bug #44811 (Improve error messages when creating new SoapClient which contains invalid data)
3--SKIPIF--
4<?php require_once 'skipif.inc'; ?>
5--INI--
6soap.wsdl_cache_enabled=0
7--FILE--
8<?php
9try {
10    $x = new SoapClient('http://slashdot.org');
11} catch (SoapFault $e) {
12    echo $e->getMessage() . PHP_EOL;
13}
14die('ok');
15?>
16--EXPECTF--
17SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://slashdot.org' : %s
18
19ok
20